Forum Discussion
Get-WindowsAutoPilotInfo - A quicker way...
SimonAllison - do you have a link to the files that I can put onto a usb stick please? struggling to get this to work... ta
- SimonAllisonNov 07, 2019Iron Contributor
firebladez Try these, put them on the USB stick
I did run them with the OS installed and through OOBE stage you can get to the command prompt by pressing , press Shift + F10
I have put them here...
https://github.com/simonallisonuk/Scripts
- RobaxnNov 10, 2019Copper Contributor
SimonAllison Hi was having difficulty getting info in the computers.csv but ran Winrm quickconfig.
Now I get "default String" under device serial no. : nothing in windows ; and a very long string of letters under hardware hash. No column for computer name.
Any thoughts?
- firebladezNov 08, 2019Copper Contributor
Thanks SimonAllison - I'll give it a go today... 🙂
- SimonAllisonNov 08, 2019Iron Contributor
I have just tested and there is an error, but this one works - all I did was remove the "p" as this gives the path and not just the drive. updating scripts
@ECHO ON
PowerShell -NoProfile -ExecutionPolicy Unrestricted -Command %~d0\Get-WindowsAutoPilotInfo.ps1 -ComputerName $env:computername -OutputFile %~d0\$env:computername.csv