Skip to Content
PowerShellAutopilot Hash

Autopilot Hash

Exports the Windows Autopilot hardware hash for device registration.

Script

Install-Script -Name Get-WindowsAutoPilotInfo -Force Set-ExecutionPolicy RemoteSigned Get-WindowsAutoPilotInfo.ps1 | Select-Object 'Device Serial Number', 'Windows Product ID', 'Hardware Hash' | Export-Csv -Path "C:\hw.csv" -NoTypeInformation

Output

Creates C:\hw.csv containing:

  • Device Serial Number
  • Windows Product ID
  • Hardware Hash

This CSV can be uploaded to Microsoft Intune to register the device for Autopilot deployment.

Last updated on