Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Return Specific Number of PowerShell Cmdlets

$
0
0

Summary: Learn how to return only a specific number of Windows PowerShell cmdlets.

Hey, Scripting Guy! Question How can I find only four Windows PowerShell cmdlets that use the verb Get, without seeing a
           long scrolling list of found cmdlets?

Hey, Scripting Guy! Answer Use the TotalCount parameter of the Get-Command cmdlet, for example:

Get-Command -Verb get -TotalCount 4


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>