Last active
October 12, 2019 14:29
-
-
Save JuryA/ae9a4f5eb96ca8abe03268aede8ab66f to your computer and use it in GitHub Desktop.
Microsoft AutoPilot automatic registration script - to run it use:RAW content of **`AutoPilot.ps1`**: [https://git.io/OAP](https://git.io/OAP)Automatic WebInstaller (_works with Internet Explorer or special add-ones_): [https://cutt.ly/osmec](htt
This file contains hidden or 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
| # Installation of appropriate script from https://www.powershellgallery.com/packages/Upload-WindowsAutopilotDeviceInfo/ | |
| Install-Script -Name Upload-WindowsAutopilotDeviceInfo -Force:$true | |
| Upload-WindowsAutopilotDeviceInfo -TenantName osmec.onmicrosoft.com -OrderIdentifier 'AssignedPC' -Confirm:$false | |
| # Upload-WindowsAutopilotDeviceInfo -TenantName osmec.onmicrosoft.com -OrderIdentifier 'SharedPC' -Confirm:$false | |
| # Upload-WindowsAutopilotDeviceInfo -TenantName osmec.onmicrosoft.com -OrderIdentifier 'SharedEduPC' -Confirm:$false | |
| # Start-Process -FilePath '%WINDIR%\system32\sysprep\sysprep.exe /generalize /shutdown /oobe' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment