Forum Discussion
Techoutlet-eu
Nov 02, 2023Copper Contributor
AutoPilot Hardware hash error, You cannot call a method on a null-valued expression
When we trying to download the hardware hash for Autopilot via Powershell, we recently are getting null-valued expression errors on random laptops W11P laptops . So far on W10P we never hard proble...
Nov 02, 2023
What happens when running this command.
$wmi = Get-WMIObject -Namespace root/cimv2/mdm/dmmap -Class MDM_DevDetail_Ext01 -Filter "InstanceID='Ext' AND ParentID='./DevDetail'"
$wmi.DeviceHardwareData
$wmi = Get-WMIObject -Namespace root/cimv2/mdm/dmmap -Class MDM_DevDetail_Ext01 -Filter "InstanceID='Ext' AND ParentID='./DevDetail'"
$wmi.DeviceHardwareData
- Techoutlet-euNov 02, 2023Copper ContributorFound the solution, create a new usb with 3.9 version. We had an order version.
https://www.powershellgallery.com/packages/Get-WindowsAutoPilotInfo/3.5- dnisavicvmoxcomApr 21, 2024Copper ContributorI am using the 3.9 version and still run into the same issue with Win11. Would you be able to help?
- Techoutlet-euApr 21, 2024Copper Contributor
Restarting the computer was our solution. And always make sure you have the latest version. dnisavicvmoxcom