The Windows 10 “Hardware Hash” for AutoPilot

You can get the script to export the value from a computer here.

The main thing the script does is call WMI to get the DeviceHardwareData value.  It’s a real shame that you can’t generate this data yourself.  In Microsoft’s own words:

Added in Windows 10 version 1703. Returns a base64-encoded string of the hardware parameters of a device.

References: