Learn how to install PowerShell help documents on your local computer and avoid looking up online.
- Open administrator command prompt
- Run
powershell
from cmd. - Next you would see PowerShell prompt. Run the command(cmdlet)
update-help
. That’s all you have to do. The command would do automated installation of all help files.
After the installation completes,you can start using get-help
on any topic. For example , I wanted to find PowerShell commands for rebooting computer. First I looked up for help on reboot, and it showed two cmdlets
that are related to this. Next I selected restart-computer and used get-help
again to get syntax and other details for the command I needed.