Forum Discussion
Ali1900
Jan 03, 2020Copper Contributor
Windows AutoPilot - Hardware Hash
Hi all,
I'm running a PowerShell script to generate hardware hashes in order to enroll devices into Intune Autopilot. I followed the instructions from the official MS site, https://docs.microsoft.com/en-us/windows/deployment/windows-autopilot/add-devices.
The below command runs successfully but the only problem is that when trying to upload to Intune I get an error that the format is incorrect. I then have to manually update the CSV to separate each comma and upload. We have hundreds of devices and, needless to say, it's incredibly tedious to do this for every single one. I can't find a forum that describes a way to edit the script to do this for me. Does anyone have an idea of how to do this, if even possible?
md c:\\HWID
Set-Location c:\\HWID
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted
Install-Script -Name Get-WindowsAutoPilotInfo
Get-WindowsAutoPilotInfo.ps1 -OutputFile AutoPilotHWID.csv
Any help would be appreciated.
Kind regards,
5 Replies
Sort By
- Moe_KinaniBronze ContributorHi Ali900,
Have you tried to create new Deployment Profile and hit Yes on Convert all targeted the devices to AutoPilot. Please refer to the blog below, you don’t have to import anything manually.
https://www.google.com/amp/s/secureinfra.blog/2019/10/31/convert-all-targeted-devices-to-autopilot/amp/- Ali1900Copper ContributorI'll check it out, thank you!
- Per-Larsen
Microsoft
You should not have to edit AutoPilotHWID.csv before upload to Intune.
Can you share the format of the file created??
Kind Regards
Per
- Abinash RGS ICT - HotmailCopper Contributor
- Ali1900Copper Contributor
Thank you, i'll check it out!