Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Find WMI Association Classes Related to Sessions

$
0
0

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*


Viewing all articles
Browse latest Browse all 3333

Trending Articles