You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
useb parameter in Windows install script isn't documented #12994
cli/subsvcgood first issueIssue should be good for first-time contributors, with clear instructionshelp wantedGood for community contributors to help [up-for-grabs]
I believe it is a PowerShell feature that you can shorten parameter names, as long as that shortening is still unique within that command. Though I couldn't find any official documentation about this.
cli/subsvcgood first issueIssue should be good for first-time contributors, with clear instructionshelp wantedGood for community contributors to help [up-for-grabs]
Activity
svick commentedon Aug 10, 2019
I believe it is a PowerShell feature that you can shorten parameter names, as long as that shortening is still unique within that command. Though I couldn't find any official documentation about this.
Thraka commentedon Aug 12, 2019
Correct, PowerShell will match a partial parameter as long as it can only resolve to a single parameter.
You shouldn't use partial parameters in scripts. If the command introduces a parameter named
usebin a future version, this would break the script.use -UseBasicParsing parameter full name
use -UseBasicParsing parameter full name (#14169)