February 2019
Intermediate to advanced
626 pages
15h 51m
English
A WMI path is required to find classes associated with an instance. The WMI object path uniquely identifies a specific instance of a WMI class.
The object path is made up of a number of components:
<Namespace>:<ClassName>.<KeyName>=<Value>
The namespace can be omitted if the class is under the default namespace, root\cimv2.
The KeyName for a given WMI class can be discovered in a number of ways. In the case of Win32_Process, the key name might be discovered by using any of the following methods.
It can be discovered by using the CIM cmdlets:
(Get-CimClass Win32_Process).CimClassProperties |
Where-Object { $_.Flags -band 'Key' }
It can be discovered by using the MSDN website, which provides the descriptions of each property ...
Read now
Unlock full access