Prerequisites
Steps to reproduce
This comment from Copilot picked up that we could do with adding a test, perhaps via a ScriptAnalyzer Rule for all .ps1 files that checks parameters are properly capitalised.
This was missed as part of #25763 that I submitted but found in #26571 though isn't critical to fix.
Expected behavior
Set-Alias -Name tma -Value Test-MyAlias -Force
Actual behavior
Set-Alias -Name tma -Value Test-MyAlias -force
Error details
Environment data
Visuals
No response
Prerequisites
Steps to reproduce
This comment from Copilot picked up that we could do with adding a test, perhaps via a ScriptAnalyzer Rule for all .ps1 files that checks parameters are properly capitalised.
This was missed as part of #25763 that I submitted but found in #26571 though isn't critical to fix.
Expected behavior
Set-Alias -Name tma -Value Test-MyAlias -ForceActual behavior
Set-Alias -Name tma -Value Test-MyAlias -forceError details
Environment data
N/AVisuals
No response