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
0 comments