June 30th, 2014

PowerTip: Learn to Start the PowerShell Pipeline

Doctor Scripto
Scripter

Summary: Find cmdlets that permit starting the pipeline in Windows PowerShell.  Hey, Scripting Guy! Question How do I find all the Get commands that allow me to start a pipeline?

Hey, Scripting Guy! Answer Although there are a number of ways, the Get-Command cmdlet has a parameter
          called -Verb for this purpose:

PS > Get-Command -Verb Get

CommandType Name          ModuleName      

———– —-          ———-      

Alias  Get-ProvisionedAppxPackage     Dism      

Function Get-AppBackgroundTask      AppBackgroundTask   

Function Get-AppxLastError       Appx       

Function Get-AppxLog         Appx      

Function Get-AssignedAccess       AssignedAccess     

Function Get-BCClientConfiguration     BranchCache      

Function Get-BCContentServerConfiguration   BranchCache      

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.