PowerTip: Find WMI Association Classes Related to Sessions

Doctor Scripto

Summary: Use a Windows PowerShell 3.0 cmdlet to find WMI classes related to sessions.

Hey, Scripting Guy! Question How can you use Windows PowerShell 3.0 to easily find WMI association classes related to sessions?

        Hey, Scripting Guy! AnswerUse the Get-CIMClass cmdlet and specify the association qualifier name, and then use a wildcard to find the WMI classes containing the letters session.

                     Get-CimClass -QualifierName association -ClassName *session*


Discussion is closed.

Feedback usabilla icon