In Out-of-Box Experience, all of the requirements to run Get-WindowsAutopilotInfo can be handled in a single command line after pressing Shift + F10 to open a command prompt
Command Prompt
powershell iex(irm autopilot.ps1.osdeploy.com)
PSCloudScript
autopilot.ps1.osdeploy.com will redirect to the following script
Sponsor
OSDeploy is sponsored by and their Systems Management Tools