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.