PowerTip: Find Parameter-Specific Help Information

Doctor Scripto

Summary:  In Windows PowerShell 3.0, see how to find detailed Help information for a specific Windows PowerShell parameter.

Hey, Scripting Guy! Question How do I find detailed Help information for a specific parameter of a Windows PowerShell cmdlet?

Hey, Scripting Guy! Answer Use the –Parameter parameter and specify the parameter name. An example of this is shown here.

17:11 C:\> help New-Partition -Parameter size

 -Size <UInt64>

    Specifies the size of the partition to create.  If not specified, then the units

    will default to bytes. The acceptable value for this parameter is a positive

    number followed by the one of the following unit values: Bytes, KB, MB, GB, or

    TB.

     Required?                    false

    Position?                    named

    Default value

    Accept pipeline input?       false

    Accept wildcard characters?  false

 

 

0 comments

Discussion is closed.

Feedback usabilla icon