Powershell

Getting Started with PowerShell

Find Registered Snapin in Powershell
Get-PSSnapin –Registered
List Available modules on system
 Get-Module –ListAvailable
Import available Modules
 Import-Module TroubleshootingPack
Find Specific Commands from a module
 Get-Command -module TroubleshootingPack
Find Commands using wildcards
 Get-Command -Name *event* -CommandType cmdlet,function
Find commands based on verb and noun search
 Get-Command -Verb get -Noun ser*
Find default PS Modules path
 $env:PSModulePath
 C:\Users\divatk\Documents\WindowsPowerShell\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules\
Find Help about different topics
 get-help About_*
Getting the list of categories
 Get-help –category adsfdss # this commands works on powershell V3 and above
 get-help –category provider
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s