powershell: getting help

thus far i have always relied on MS web pages that describe the functionality of a particular cmdlet. recently i learned there’s built-in documentation for powershell…somewhat similar to unix’s man pages.

examples:
Get-Command -noun ADUser = lists ADUser cmdlets
Get-Help Set-ADUser = lists all the options of specified cmdlet
Get-Help Set-ADUser -detailed = same as above but more legible
Get-Module = lists modules currently loaded
Get-Module -list = displays all available modules
Import-Module ActiveDirectory = loads specified module

note: to install the AD module go to Windows Features->RSAT
details here: http://blogs.msdn.com/b/rkramesh/archive/2012/01/17/how-to-add-active-directory-module-in-powershell-in-windows-7.aspx

This entry was written by resinblade , posted on Friday August 08 2014at 05:08 pm , filed under IT . Bookmark the permalink . Post a comment below or leave a trackback: Trackback URL.

Comments are closed.