Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Find Parameter-Specific Help Information

$
0
0

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

 

 


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>