Azure / Azure/RDS-Templates

AVD AIB StorageSense script not working

Open
#749 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
524
Forks
610
PR merge metrics
No merged PRs in 30d

Description

Hello team, please fix the DisableStorageSense.ps1 script by moving function "Set-RegKey" to the begining of this script. It is failing with following error.

azure-arm: Set-RegKey : The term 'Set-RegKey' is not recognized as the name of a cmdlet, function, script file, or operable

I will send a pull request with the fix.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open DisableStorageSense.ps1 and inspect where the Set-RegKey function is defined relative to its first use. Move the function to the beginning of the script, then verify that the script no longer reports Set-RegKey as an unrecognized command.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
devops
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.