Search

Show-Command should (at least optionally) show default values by Matthew Reynolds [MSFT]

Active

10
0
Sign in
to vote
Type: Suggestion
ID: 780634
Opened: 3/4/2013 4:42:17 PM
Access Restriction: Public
0
Workaround(s)
The utility of Show-Command as a GUI front end enabling less skilled users to execute a task oriented script/function is impaired by the fact that default values cannot be shown.
Having the ability to display default values has two usability benefits:
1) It gives the user an idea of what they really need to configure and what they can leave alone
2) It gives the user a pattern to follow even if they are changing values ("oh, I can put a comma separated list of computer names in that field")
Details (expand)
How often does this happen?
Always Happens
Have you seen this problem before in this product?
No, this is new to the most recent version
Reproduction Steps
function Test-ShowCommand {
param(
$SomeArcaneSetting = 7
)

}

Show-Command Test-ShowCommand
Expected Results
Should show (at least optionally) 7 as a replaceable default value for SomeArcaneSetting. Does not.
File Attachments
0 attachments
Sign in to post a comment.
Sign in to post a workaround.