Collecting hash value of device
Manually register devices for Windows Autopilot within your organization by collecting their hardware identities (hashes) and uploading them in a CSV file. However, this method requires booting the devices into Windows, making it suitable mainly for testing and evaluation purposes.
Run this PowerShell code on enrollment device
#Install-Script -Name Get-WindowsAutoPilotInfo -RequiredVersion 3.8
Set-ExecutionPolicy Unrestricted
New-Item -Type Directory -Path “C:\HWID”
Set-Location -Path “C:\HWID”
Get-WindowsAutoPilotInfo.ps1 -OutputFile RSSMachineHashes.csv
Copy csv file from that location C:\HWID and upload to Intune
Devices->Windows Devices->Windows enrollment->Devices->import CSV file
Select the device and Sync will update Intune configuration and compliance policies.
Enrolled device can setup out of box experience using any of below commands
#shutdown -s -t 0
or
#systemreset
or
#sysprep