From dfd317b2fedbbce5cb0974bd588966078eb134ef Mon Sep 17 00:00:00 2001 From: smo Date: Tue, 8 Apr 2025 08:37:04 +0000 Subject: [PATCH] Add https:/git.seppjm.com/smo/ps-tools/raw/branch/main/cris-autopilot-offline.ps1 --- .../ps-tools/raw/branch/main/cris-autopilot-offline.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 https:/git.seppjm.com/smo/ps-tools/raw/branch/main/cris-autopilot-offline.ps1 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