Summary: Use this trick to find all cmdlets when searching by a specific noun or verb.
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?
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-Module, ipmo is an alias for Import-Module, and gcm is an alias for Get-Command.
gmo -ListAvailable | ipmo
gcm -noun process
0 comments