Categories
PowerShell Basic

Powershell and the absolute best command

Get-Help

By far the best command available in powershell, the first time you run it, you may encounter that you are missing help files and then need to download them. This is done by running update-help.

EX: PS c:\Temp\>

PowerShell
Update-Help

How it works

It is based on the syntax commando (Get-Help) which command you want help with.

EX: PS c:\Temp\>

PowerShell
Get-Help [command]

ShowWindow

This is the parameter I prefer to use, it opens up the help in a separate window which is very nice.

EX: PS c:\Temp\>

PowerShell
Get-Help Get-Help -ShowWindow

Online

This is also a parameter you can use in Get-Help, which is very good. You then come to Microsoft’s own help web where you can find all explanations for all commands. You can also find guides and explanations here.

EX: PS c:\Temp\>

PowerShell
Get-Help Get-Help -online

So with this knowledge, if you’re wondering about powershell, this is all you need to know along with Get-command and you’ll get very far.

Now just to run Get-Command and select a command for which that you want to know more about. Or why not run help about Get-Command.

EX: PS c:\Temp\>

PowerShell
Get-Help Get-Command -ShowWindow

That was pretty simple explanation on how to use help in powershell. Feel free to offer a cup of coffee for the time spent.

If this was interesting please support me

Leave a Reply

Your email address will not be published. Required fields are marked *