Get-WmiObject wirft "Ungültiger Zugriff auf den Speicherort".

775
soumer

Ich versuche, den folgenden PowerShell-Befehl unter WinPE (Version 10.0.10586.0) auszuführen:

Get-WmiObject -Class Win32_ComputerSystem 

Aber ich bekomme diesen Fehler:

Get-WmiObject : Invalid access to memory location. (Exception from HRESULT: 0x800703E6)  At line:1 char:1 + Get-WmiObject -Class Win32_ComputerSystem + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-WmiObject], BadImageFormatException + FullyQualifiedErrorId : System.BadImageFormatException,Microsoft.PowerShell.Commands.GetWmiObjectCommand 

Beim Durchsuchen von Google habe ich nur festgestellt, dass WinPE-WMI.cabmöglicherweise etwas fehlt. Das ist aber nicht der Fall!

Irgendwelche Ideen?

1
[Dieses] (http://stackoverflow.com/questions/8996653/troubleshu-ildation-badimageformatexception) kann Ihnen dabei helfen. Lieven Keersmaekers vor 7 Jahren 0

0 Antworten auf die Frage