One Step Further: Obtaining Help

In this exercise, we use various help options to obtain assistance with various cmdlets.

  1. Start Windows PowerShell by using Start | Run | Windows PowerShell. The PowerShell prompt will open by default at the root of your Documents And Settings.

  2. Use the Get-Help cmdlet to obtain help about the Get-Help cmdlet. Use the command Get-Help Get-Help as follows:

    get-help get-help
  3. To obtain detailed help about the Get-Help cmdlet, use the -detailed argument as follows:

    get-help get-help -detailed
  4. To retrieve technical information about the Get-Help cmdlet, use the -full argument. This is shown here:

    get-help get-help -full
  5. If you only want to obtain a listing of examples of command usage, use the -examples argument as follows:

Get Microsoft® Windows PowerShell™ Step By Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.