Welcome to the Microsoft Script Center. We are dedicated to the system administrator scripters of the world. At the Microsoft Script Center, we focus on teaching people how to use Windows PowerShell to reduce time spent performing mundane tasks.
Â
What's new?
Check out the Hey, Scripting Guy! blog to catch all the latest news, events, and, of course, scripts!
PowerTip: Find Only PowerShell Cmdlets that Use âGetâ Summary: Find only Windows PowerShell cmdlets that use the verb âget.â
How can I find cmdlets in Windows PowerShell that use the verb âgetâ when the parameters âVerb and âCommandType are exclusive?
Use Get-Command to find the âCommandType of the cmdlet, pipe the results to Where-Object, and look for a verb equal to Get:
get-command -CommandType cmdlet | where verb -eq get
Friday, Oct 4