diff --git a/https:/git.seppjm.com/smo/ps-tools/raw/branch/main/cris-autopilot-offline.ps1 b/https:/git.seppjm.com/smo/ps-tools/raw/branch/main/cris-autopilot-offline.ps1 new file mode 100644 index 0000000..62f2d48 --- /dev/null +++ b/https:/git.seppjm.com/smo/ps-tools/raw/branch/main/cris-autopilot-offline.ps1 @@ -0,0 +1,9 @@ +Install-Script -name Get-WindowsAutopilotInfo -Force +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 +New-Item -Type Directory -Path "C:\HWID" +Set-Location -Path "C:\HWID" +$env:Path += ";C:\Program Files\WindowsPowerShell\Scripts" +Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned +Install-Script -Name Get-WindowsAutopilotInfo +Get-WindowsAutopilotInfo -OutputFile AutopilotHWID.csv +Write-Host "HWID HASH SAVED AT: C:\HWID" \ No newline at end of file