diff --git a/content/2 Azure Services/Obtaining Hardware ID for Autopilot.md b/content/2 Azure Services/Obtaining Hardware ID for Autopilot.md index 09a62028bfec2..6e38a91ee0401 100644 --- a/content/2 Azure Services/Obtaining Hardware ID for Autopilot.md +++ b/content/2 Azure Services/Obtaining Hardware ID for Autopilot.md @@ -1,11 +1,29 @@ In order to on board an endpoint device, we need to obtain the hardware ID of the device. -We can use this Powershell Script below: +To begin, run PowerShell as Administrator: + +![[Pasted image 20240806074914.png]] + +We can use this PowerShell Script to create a folder to save the information to: ``` New-Item -Type Directory -Path "C:\HWID" Set-Location -Path "C:\HWID" $env:Path += ";C:\Program Files\WindowsPowershell\Scripts" -Set-ExecutionPolicy -Scope Processes -ExecutionPolicy RemoteSigned +Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned Install-Script -Name Get-WindowsAutoPilotInfo Get-WindowsAutopilotInfo -OutputFile AutoPilotHWID.csv -``` \ No newline at end of file +``` + +Paste this script into the PowerShell command line and run the script: + +![[Pasted image 20240806075123.png]] + +The execution policy will popup and agree to all: + +![[Pasted image 20240806075210.png]] + +Once the script has run, navigate to where the script created a folder and saved the .csv file: + +![[Pasted image 20240806075334.png]] + +As you can see here, the file has been created containing the Device Serial Number, Windows Product ID, and Hardware Hash. \ No newline at end of file diff --git a/content/Pictures/Pasted image 20240806074914.png b/content/Pictures/Pasted image 20240806074914.png new file mode 100644 index 0000000000000..21cb0440f6a2a Binary files /dev/null and b/content/Pictures/Pasted image 20240806074914.png differ diff --git a/content/Pictures/Pasted image 20240806075123.png b/content/Pictures/Pasted image 20240806075123.png new file mode 100644 index 0000000000000..8bf21b6cefdd3 Binary files /dev/null and b/content/Pictures/Pasted image 20240806075123.png differ diff --git a/content/Pictures/Pasted image 20240806075210.png b/content/Pictures/Pasted image 20240806075210.png new file mode 100644 index 0000000000000..1b4e4ea69318a Binary files /dev/null and b/content/Pictures/Pasted image 20240806075210.png differ diff --git a/content/Pictures/Pasted image 20240806075334.png b/content/Pictures/Pasted image 20240806075334.png new file mode 100644 index 0000000000000..a128e4f784cce Binary files /dev/null and b/content/Pictures/Pasted image 20240806075334.png differ