Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

PowerTip: Find All Cmdlets When Searching by a Specific Noun or Verb

$
0
0

Summary: Use this trick to find all cmdlets when searching by a specific noun or verb.

Hey, Scripting Guy! Question When I just open up Windows PowerShell 3.0, an error arises when I try to search for a cmdlet by a noun or verb. The error is “Object reference not set to an instance of an object.” Is there something I can do to solve this problem?

Hey, Scripting Guy! Answer Load all of the modules prior to attempting to search for cmdlets by noun or verb. This approach is shown here, where gmo is an alias for Get-Moduleipmo is an alias for Import-Module, and gcm is an alias for Get-Command.

gmo -ListAvailable | ipmo

gcm -noun process

 

 


Viewing all articles
Browse latest Browse all 36188

Trending Articles



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