How to do it...

  1. At the prompt, type in the following:
Get-Help Get-Command
  1. You'd get an output like this:
  1. You can even get complete help on a cmdlet, including information about each of the parameter that you can use with the cmdlet; information such as whether the parameter is positional, mandatory and so on. We shall see in detail about each of these as we move into administration using PowerShell. To get full help on the cmdlet, enter:
PS> Get-Help Get-Command -Full
  1. To see examples of how to use the cmdlet, enter:
PS> Get-Help Get-Command -Examples
  1. To read help information online, enter:
PS> Get-Help Get-Command -Online
Notice that parameters are grouped in the output under SYNTAX. We can see two such groups in this case. These groups are called Parameter Sets. Parameter sets tell us which parameters can be grouped together. Two parameters not appearing within the same parameter set cannot be used together.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.196.217