Accessing Powershell cmdlets

There are various ways you can access Powershell cmdlets and here are few I know about:

Launching the PS cmdlet with path from snap-in:

PS C:> get-command get-date | format-table -property commandtype, name,
pssnapin, module -auto

CommandType  Name       pssnapin                       Module
-----------  ----       --------                       ------
     Cmdlet  Get-Date   Microsoft.PowerShell.Utility

PS C:> Microsoft.PowerShell.Utilityget-date

Wednesday, March 09, 2011 7:43:09 PM

PS C:>

.

Leave a Reply

Your email address will not be published. Required fields are marked *