Welcome to the Microsoft Script Center. We are dedicated to the system administrator scripters of the world. At the Microsoft Script Center, we focus on teaching people how to use Windows PowerShell to reduce time spent performing mundane tasks.
Â
What's new?
Check out the Hey, Scripting Guy! blog to catch all the latest news, events, and, of course, scripts!
PowerTip: Use PowerShell to Find Video-Related WMI Classes Summary: Use Windows PowerShell to find WMI classes that are related to a video subsystem.
How can I find all WMI classes in the root\cimv2 WMI namespace that are related to video or displays?
Create an array of wildcard patterns, then pipe the results to the Foreach-Object cmdlet, and use the Get-CimClass cmdlet to find dynamic WMI classes:
"*video*","*display*" | foreach {Get-CimClass -ClassName $psitem -QualifierName dynamic}
Thursday, Oct 3