Getting classes

The Get-WmiObject command is used to get classes:

Get-WmiObject Win32_Process -List 

The WMI cmdlets are able to recursively list classes in namespaces. The following command lists the classes in rootcimv2 and any child namespaces:

Get-WmiObject -List -Recurse 

In addition to the list parameter, the WmiClass type accelerator can be used:

[WmiClass]"Win32_Process"        
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.70.93