Skip to content

Instantly share code, notes, and snippets.

Write-Host -ForegroundColor Green "Starting OSDCloud ZTI"
Start-Sleep -Seconds 5
Start-OSDCloud -OSVersion 'Windows 10' -OSBuild 22H2 -OSEdition Pro -OSLanguage en-us -OSLicense Retail -ZTI
#Restart from WinPE
Write-Host -ForegroundColor Green “Restarting in 20 seconds!”
Start-Sleep -Seconds 20