Export Windows Hardware Hash ID for Autopilot

Export Windows Hardware Hash ID for Autopilot

Run as Admin in powershell, the script will output a file to C:\hosname.

Get-WMIObject -Namespace root/cimv2/mdm/dmmap -Class MDM_DevDetail_Ext01 | Out-File -filepath C:\$env:COMPUTERNAME.log