I'm trying to get the hardware hash for a Dell Latitude 3520.I've tried a few different ways and cannot get the hardware hash. Any assistance is greatly appreciated.
I've tried:
Get-WMIObject -Namespace root/cimv2/mdm/dmmap -Class MDM_DevDetail_Ext01
ERROR:
Get-WMIObject : Generic failure
At line:1 char:1
+ Get-WMIObject -Namespace root/cimv2/mdm/dmmap -Class MDM_DevDetail_Ex ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException
+ FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand ********* ALSO *******
This scriptGet-WindowsAutopilotInfo -OutputFile AutopilotHWID.csv returns this error below.
Get-CimInstance : A general error occurred that is not covered by a more specific error code.
At C:\...