set-executionpolicy bypass
install-script get-windowsautopilotinfo
get-windowsautopilotinfo.ps1 -online (-outputfile path .csv)
#make sure that the executionpolicy allows running the script
Install-Script Get-AutopilotDiagnostics
Get-AutopilotDiagnostics.ps1