January 2008
Intermediate to advanced
688 pages
19h 12m
English
As you have seen in the previous sections, you can use -whatif and -confirm to control the execution of cmdlets. One question students often ask me is, "How do I know what options are available?" The answer is that the Windows PowerShell team created a set of standard options. These standard options are called common parameters. When you look at the syntax description for a cmdlet, often it will state that the cmdlet supports the common parameters. This is shown here for the Get-Process cmdlet:
SYNTAX
Get-Process [[-name] <string[]>] [<CommonParameters>]
Get-Process -id <Int32[]> [<CommonParameters>]
Get-Process -inputObject <Process[]> [<CommonParameters>]One of the useful features of Windows PowerShell is the standardization ...
Read now
Unlock full access