Fortunately we have the Powershell Superheroes and they have come up with a very easy powershell script for this - Get-WindowsAutoPilotInfo
But how do you get the info out of a brand new machine you just installed yourself?
1: Boot up the machine.
2: Press Shift+F10 as soon as the OOBE starts to open CMD
3: Type in the following commands in the shell:
This file contains 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
Powershell | |
Set-Executionpolicy -unrestricted | |
Install-Script -Name Get-WindowsAutoPilotInfo -Scope CurrentUser | |
Get-WindowsAutoPilotInfo C:\Info.csv | |
&'C:\Program Files (x86)\Internet Explorer\iexplore.exe' https://businessstore.microsoft.com |
I have not had any success adding a policy to the newly uploaded machine - unfortunately the browser crashes every time.
Ingen kommentarer:
Send en kommentar