-
Get-Help <cmdlet>
-
help <cmdlet>
-
<cmdlet> -WhatIf
-
<cmdlet> -Help
EXPLANATION
Get-Help
Once you have found the cmdlet you are looking for using Get-Command,
you are going to want to know the syntax and how you can use that
specific cmdlet. This is where Get-Help comes in, if you have ever used
the command line in Windows you probably did something like this:
ipconfig /?
Well that doesn’t work in PowerShell, this is because in PowerShell a
space is used to separate a command from its parameters. So instead we
use Get-Help and pass a cmdlets name to Get-Help as a parameter.
Get-Help Get-Process
0 comments:
Post a Comment