forked from jackyzha0/quartz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a95773
commit 35e8e43
Showing
5 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
24 changes: 21 additions & 3 deletions
24
content/2 Azure Services/Obtaining Hardware ID for Autopilot.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
``` | ||
``` | ||
|
||
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. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.