I'm trying to retrieve __PATH property in WQL query.
When I trying to enumerate it using WSMAN and WQL query, it returns only ProcessId .
Get-WSManInstance -Enumerate wmicimv2/* -filter "SELECT __PATH, ProcessId FROM Win32_Process"
But it is easy to make sure that __PATH is not null.
Get-WmiObject -Query "SELECT __PATH, ProcessId FROM Win32_Process" -Namespace root/cimv2
Why it is not possible to retrieve WMI System Properties (like __PATH) in enumeration request?