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

PowerTip: List all available CIM classes by using PowerShell

$
0
0

Summary: Use the Get-CimClass cmdlet to see all classes that you can query from.

Hey, Scripting Guy! Question How can I find a list of Common Information Model (CIM) classes in Windows so that I can ask my computer useful questions?

Hey, Scripting Guy! Answer Just run the Get-CIMClass cmdlet to get a list of all available classes in the default namespace in Windows. If you’d like to filter on the list, you can use a wildcard. In the following example, we show all classes that begin with Win32 and have the word, Disk, in it.

Get-CimClass Win32*Disk*

The Doctor


Viewing all articles
Browse latest Browse all 3333

Trending Articles