Summary: Learn how to find all Windows PowerShell cmdlets that accept a CIM session.
How can I find a list of all the Windows PowerShell cmdlets that accept a CIM session?
Use the Get-Command cmdlet and specify the –CimSession parameter:
Get-Command -Parameter CimSession
Note If you rely on dynamic loading of modules and you have not loaded a module,
this command will not report it. To ensure accurate results, load all of the modules first:
Get-Module -ListAvailable | Import-Module
0 comments