Autopilot

set-executionpolicy bypass

install-script get-windowsautopilotinfo

get-windowsautopilotinfo.ps1 -online (-outputfile path .csv)

Autopilot Diagnostics

#make sure that the executionpolicy allows running the script

Install-Script Get-AutopilotDiagnostics

Get-AutopilotDiagnostics.ps1