Please feel free to provide feedback or file bugs here.

Show-Command should (at least optionally) show default values

Votes from Connect: 12

Original Date Submitted: 3/5/2013 8:42:45 AM

Description:
********Contact Information********
Handle: Matthew Reynolds [MSFT]
Site Name: PowerShell
Feedback ID: 780634
***************************************

Frequency: Always Happens
Regression: No, this is new to the most recent version

Problem Description:
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")

Product Studio item created by Connect Synchronizer due to creation of feedback ID 780634 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=780634).

Repro 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.

Internal BugId: 4140

1 vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    AdminJoey Aiello [MSFT] (Program Manager, Windows Server) shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base