[Bug 51871] PSScript fails with 0x80041002 (WBEM_E_NOT_FOUND) ( system property L"__Derivation" not implemented)
WineHQ Bugzilla
wine-bugs at winehq.org
Wed Oct 13 17:01:03 CDT 2021
https://bugs.winehq.org/show_bug.cgi?id=51871
Louis Lenders <xerox.xerox2000x at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Fixed by SHA1| |2243229043b9af45376e27df55a
| |3fa279590a9b4
Status|NEW |RESOLVED
--- Comment #6 from Louis Lenders <xerox.xerox2000x at gmail.com> ---
(In reply to winetest from comment #5)
> a patch related to this bug was merged so is this fixed now?
yes. this is fixed by 2243229043b9af45376e27df55a3fa279590a9b4
Thanks Hans (again)!
Just for documentation, in case an app in future might depend on real values
for system prop "__Derivation":
I ran the script on my windows-laptop in Powershell 7 (Core) and also tested in
"real" powershell 5.1
(without script as powershell 5.1 does have Get-WMIObject).
It then yields in both cases same output:
Powershell 7:
$(Get-WmiCustom win32_operatingsystem).__DERIVATION
CIM_OperatingSystem
CIM_LogicalElement
CIM_ManagedSystemElement
Powershell 5.1:
$(Get-WMIObject win32_operatingsystem).__DERIVATION
CIM_OperatingSystem
CIM_LogicalElement
CIM_ManagedSystemElement
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list