New to the forums but hope I am okay to ask a question. I am trying to run powershell in a bootable WinPE. I can load powershell and modify the file structure. I have tested the scripts on my developer machine but cant get them to run within WinPE. The Script I am trying to run is get-windowsautopilotinfo -online.
I have copied the script to the WinPE system, tried with set-executionpolicy bypass
tried with .\ before the file name
I do get errors relating to the term (FILENAME) is not reconized as the name of a cmdlet, function, script file…
I have also copied over my devs workstation powershell scripts folder but no joy.
Thanks for the reply, I have looked on google and assume that there is no way to add this in? My goal was to try and automate the upload of machine hash ID’s to autopilot using a bootable USB drive. The smallest OS I could find was WinPE
Are you an OEM or reseller? Everything I see says this needs to be done in windows 10. But it also seems it’s either handled by the vendor or management platform such as intune or SCCM. The doc says specifically the manual process should be for testing only.