My Technical Notes

Friday, 29 May 2015

Getting Help in PowerShell

Getting help in Powershell is quite easy. To get all the loaded modules, we use:


To get all the commands in a newly installed module, for example, PowerShell Community Extensions, you type in:

Get-Command -Module <module name>
In this case:

Get-Command -Module PSCX

To get help on a specific command, we use `Get-Help <command name>`, for example:

Get-Help Import-VisualStudioVars

To add help to your own commands, see

Get-Help about_Comment_Based_Help

No comments: