https://bugs.winehq.org/show_bug.cgi?id=50038
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi Hans, just for the info:
After applying your next patch https://www.winehq.org/pipermail/wine-devel/2020-October/176003.html the command works correctly now! Nice job!
WINEDEBUG=-all wine powershell -c get-wmiobject win32_process wine: Read access denied for device L"\??\Z:\", FS volume label and serial are not available.
__GENUS : 2 __CLASS : Win32_Process __RELPATH : Win32_Process.Handle="32 __PROPERTY_COUNT : 9 __SERVER : DEBIAN __NAMESPACE : ROOT\CIMV2 __PATH : \DEBIAN\ROOT\CIMV2:Win32_Process.Handle="32 Caption : powershell.exe CommandLine : "C:\windows\system32\WindowsPowershell\v1.0\powershell.exe" -c get-wmiobject win32_process Description : powershell.exe Handle : 32 Name : powershell.exe ParentProcessID : 0 ProcessID : 32 ThreadCount : 4 WorkingSetSize : 0
__GENUS : 2 __CLASS : Win32_Process __RELPATH : Win32_Process.Handle="56 __PROPERTY_COUNT : 9 __SERVER : DEBIAN __NAMESPACE : ROOT\CIMV2 __PATH : \DEBIAN\ROOT\CIMV2:Win32_Process.Handle="56 Caption : services.exe CommandLine : Description : services.exe Handle : 56 Name : services.exe ParentProcessID : 40 ProcessID : 56 ThreadCount : 11 WorkingSetSize : 0
__GENUS : 2 __CLASS : Win32_Process __RELPATH : Win32_Process.Handle="68 __PROPERTY_COUNT : 9 __SERVER : DEBIAN __NAMESPACE : ROOT\CIMV2 __PATH : \DEBIAN\ROOT\CIMV2:Win32_Process.Handle="68 Caption : svchost.exe CommandLine : Description : svchost.exe Handle : 68 Name : svchost.exe ParentProcessID : 56 ProcessID : 68 ThreadCount : 3 WorkingSetSize : 0
__GENUS : 2 __CLASS : Win32_Process __RELPATH : Win32_Process.Handle="92 __PROPERTY_COUNT : 9 __SERVER : DEBIAN __NAMESPACE : ROOT\CIMV2 __PATH : \DEBIAN\ROOT\CIMV2:Win32_Process.Handle="92 Caption : winedevice.exe CommandLine : Description : winedevice.exe Handle : 92 Name : winedevice.exe ParentProcessID : 56 ProcessID : 92 ThreadCount : 4 WorkingSetSize : 0
__GENUS : 2 __CLASS : Win32_Process __RELPATH : Win32_Process.Handle="116 __PROPERTY_COUNT : 9 __SERVER : DEBIAN __NAMESPACE : ROOT\CIMV2 __PATH : \DEBIAN\ROOT\CIMV2:Win32_Process.Handle="116 Caption : plugplay.exe CommandLine : Description : plugplay.exe Handle : 116 Name : plugplay.exe ParentProcessID : 56 ProcessID : 116 ThreadCount : 6 WorkingSetSize : 0
__GENUS : 2 __CLASS : Win32_Process __RELPATH : Win32_Process.Handle="172 __PROPERTY_COUNT : 9 __SERVER : DEBIAN __NAMESPACE : ROOT\CIMV2 __PATH : \DEBIAN\ROOT\CIMV2:Win32_Process.Handle="172 Caption : winedevice.exe CommandLine : Description : winedevice.exe Handle : 172 Name : winedevice.exe ParentProcessID : 56 ProcessID : 172 ThreadCount : 6 WorkingSetSize : 0
__GENUS : 2 __CLASS : Win32_Process __RELPATH : Win32_Process.Handle="236 __PROPERTY_COUNT : 9 __SERVER : DEBIAN __NAMESPACE : ROOT\CIMV2 __PATH : \DEBIAN\ROOT\CIMV2:Win32_Process.Handle="236 Caption : explorer.exe CommandLine : Description : explorer.exe Handle : 236 Name : explorer.exe ParentProcessID : 40 ProcessID : 236 ThreadCount : 3 WorkingSetSize : 0
__GENUS : 2 __CLASS : Win32_Process __RELPATH : Win32_Process.Handle="256 __PROPERTY_COUNT : 9 __SERVER : DEBIAN __NAMESPACE : ROOT\CIMV2 __PATH : \DEBIAN\ROOT\CIMV2:Win32_Process.Handle="256 Caption : rpcss.exe CommandLine : Description : rpcss.exe Handle : 256 Name : rpcss.exe ParentProcessID : 56 ProcessID : 256 ThreadCount : 7 WorkingSetSize : 0
__GENUS : 2 __CLASS : Win32_Process __RELPATH : Win32_Process.Handle="292 __PROPERTY_COUNT : 9 __SERVER : DEBIAN __NAMESPACE : ROOT\CIMV2 __PATH : \DEBIAN\ROOT\CIMV2:Win32_Process.Handle="292 Caption : conhost.exe CommandLine : Description : conhost.exe Handle : 292 Name : conhost.exe ParentProcessID : 32 ProcessID : 292 ThreadCount : 1 WorkingSetSize : 0