Skip to content

Instantly share code, notes, and snippets.

@contactbrenton
Last active September 12, 2020 10:21
Show Gist options
  • Save contactbrenton/bcaf8c9ad52bd3ab5674f6772778d4c8 to your computer and use it in GitHub Desktop.
Save contactbrenton/bcaf8c9ad52bd3ab5674f6772778d4c8 to your computer and use it in GitHub Desktop.
Used to copy device hardware hash to a folder on the harddisk.
md c:\HWID
Set-Location c:\HWID
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted -Force
Install-Script -Name Get-WindowsAutopilotInfo -Force
$env:Path += ";C:\Program Files\WindowsPowerShell\Scripts"
Get-WindowsAutopilotInfo.ps1 -OutputFile AutopilotHWID.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment