Tuesday, September 10, 2013

Basic help powershell commands that make life easier

get-help
displays help for desired commandlet

get-help -full
displays full help for desired commandlet including examples

get-help -online
if you have internet access this will display online help for any commandlets desired

update-help
downloads and installs help files from internet

show-command
opens gui for desired commandlet where you can see whole bunch of options and parameters. If desired these parameters can be filled out in gui and copied to run in PowerShell window in order to see exact syntax

get-command
this will list commands that pertain not only to PowerShell but a whole system

get-member
gets the properties and methods of objects. This is very useful to see what custom fields/methods you can use for specific cmdlet




No comments:

Post a Comment