Getting Help with PowerShell Commands
This one is easy. Just use the Get-Help
Cmdlet, followed by the name of the command for which you need information. For example, you can see information about the Get-Module
Cmdlet like this:
PS /home/donnie> Get-Help Get-Module
What you’ll see will resemble a normal Linux/Unix man page.
At the bottom of every Get-Help
screen, you’ll see commands that will show you how to see even more information. For example, if you need to see examples of how to use the Get-Module
Cmdlet, do this:
PS /home/donnie> Get-Help Get-Module -Examples
Sometimes, the help page for the command that you need to learn about isn’t available. In those cases, either run the Update-Help
Cmdlet, or append the -Online
option to the end of your Get-Help
command.
Another great resource is the PowerShell Commands page, which you can find here: https://ss64.com/ps/
(Of course, a lot of the listed commands are Windows...