Wednesday, July 18, 2018

Powershell 1.4 : About Cmdlets and get-command

In PowerShell, administrative tasks are generally performed by cmdlets (pronounced command-
lets).Cmdlets are specialized commands in the PowerShell environment that implement specific
functions. Cmdlets follow a Verb-Noun naming pattern, such as Get-ChildItem, helping to make them
self-descriptive. Sets of cmdlets may be combined into scripts & executable

Get-command ---> gives all commands that includes cmdlets,functions ,alias,workflow...etc

#lists only cmdlets 
get-command -CommandType cmdlet -ListImported 



Get commands with a verb
get-command -verb export





Get command with a Noun
get-command -noun ACL

Featured Posts

Adding Accesspolicy to KeyVault for Service Principal Using Portal and Powershell

  Scripts path : https://drive.google.com/drive/folders/1sbBpnVFgXhUIXLdf2E9heyWDeU2f9427?usp=sharing  Adding Accesspolicy to KeyVault for S...