Search notes:

PowerShell cmdLet Get-CimInstance

get-cimInstance returns a Microsoft.Management.Infrastructure.CimInstance object.
get-cimInstance -class win32_powerplan -namespace root\cimv2\power
get-cimInstance -class win32_process | select processId, parentProcessId, name
Why does this not report the parentProcessId?
get-cimInstance -query 'select processId, parentProcessId, name from win32_process'

See also

With PowerShell 3.0, get-cimInstance superseded get-wmiObject
Microsoft.Management.Infrastructure.CimInstance
Powershell command noun: cimInstance

Index