PowerShell for Windows Admins

Sep 5 2016   6:29AM GMT

using help proactively

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Tags:
Powershell

I was reading a thread on the forum about using a particular cmdlet and it occurred to me that the person posing the question hadn’t actually looked at the help file for the cmdlet.

One of the first things I do when coming across a new cmdlet – either in some code or when I need to perform a new task – is to read the FULL help file for the cmdlet.

Either

Get-Help Get-Process –Full

or

Get-Help Get-Process –Online

The online version tends to be updated quicker than the downloadable version.

Two areas to concentrate on.

The parameter list shows you what parameters are available, the input and relevant information

The examples section is possibly the most useful as you’ll find how you can actually use the cmdlet.

The detailed description and notes a re worth a read – especially for a cmdlet you’ve not used before

Think about the PowerShell experts you’ve come across. How did they get to be experts? A lot of it was reading the help files.

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: