Autopilot Hardware Hash for all devices
In this blog, I am going to show you how you can use SCCM to collect all the Hardware Hashes to be uploaded into Intune for Autopilot readiness.
1. In the SCCM console, select the Monitoring blade and Create Query.
2. Give it a suitable name like - Autopilot Hardware Hash for all Devices
3. Click on Edit Query Statement
4. You can either manually select the below Attribute classes and Attributes or simply use the query language mentioned below.
select SMS_G_System_PC_BIOS.SerialNumber, SMS_G_System_MDM_DEVDETAIL_EXT01.DeviceHardwareData from SMS_R_System inner join SMS_G_System_PC_BIOS on SMS_G_System_PC_BIOS.ResourceId = SMS_R_System.ResourceId inner join SMS_G_System_MDM_DEVDETAIL_EXT01 on SMS_G_System_MDM_DEVDETAIL_EXT01.ResourceId = SMS_R_System.ResourceId
Click Ok and limit the query to a collection where all devices are available.
Click next to create the Query.
Click on Run and after a while you should see all the device hardware hashes collected by this Query.
Simply export it and bulk upload to Intune.
Let me know if this has helped you.