How to use PowerShell help

The powershell help is actually very powerful. But most people don’t know how to use it and prefer to search in google. This approach will take you much more time.
To actually get the help in powershell you need to first download the help from the internet.

Update-Help –Force

If you don’t use the force command it allows you to download the help just every 24 hours.

After that you can run following commands with wildcards:
Help *Get-Service* –Full
Help *Get-Service* –Example
Help *Get-Service* –ShowWindow
Help *Get-Service* –Online

Syntax Description

Optional Parameters
All Parameters between [] are optional

Positional Parameter
You could run the command e.g. Get-Service without “–Name” like Get-Service WinRM and it would still work if the parameter is at the beginning. You can recognize this command because it is between [] bracket without the data type.

1, 2, 3
You have three different choices how to run the command.

admin on July 24th 2013 in General

No Comments »

Comments RSS

Leave a Reply

Check out new movies online website. Download and buy movies now.