Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 1. Overview of Windows PowerShell > One Step Further: Obtaining Help

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-help get-help -examples

6.
Obtain a listing of all the informational help topics by using the Get-Help cmdlet and the about noun with the asterisk (*) wild card operator. The code to do this is shown here:

get-help about*

7.
Obtain a listing of all the help topics related to get cmdlets. To do this, use the Get-Help cmdlet, and specify the word “get” followed by the wild card operator as follows:

get-help get*

8.
Obtain a listing of all the help topics related to set cmdlets. To do this, use the Get-Help cmdlet followed by the “set” verb followed by the asterisk wild card. This is shown here:

get-help set*

9.
This concludes the one step further exercise. Exit the Windows PowerShell by typing exit and pressing Enter.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint