Summary: Selectively import specific cmdlets when you import a module.
How can I import only cmdlets that use the verb Get from the PSCX module?
Call the Import-Module cmdlet, specify the cmdlet parameter, and use a filter to get only cmdlets with the verb Get (ipmo is an alias for Import-Module):
ipmo -Cmdlet get* -Name pscx
Note For more information about the PSCX module, see Install the PSCX and 80 New Cmdlets to Ease PowerShell Use.
0 comments