Are you sure the system is not in WinPE? Can you post the entire log?
Run Powershell Script in Windows 11 TS doesn't work
Try to run a Powershell Script from a TS that is deploying Windows 11. Using SCCM 2203 with HF Rollup.
TS Action "Run Powershell Script" with the option "Run the script from a package". Execution Policy "Bypass"
The TS Step fails with the following error:
PowerShell.exe does not exist at 'X:\windows\system32\windowspowershell\v1.0\powershell.exe'
Run PowerShell script failed to run, hr=0x80070490
Any advice? Thank you in advance.
Franz
-
Jason Sandys 31,306 Reputation points Microsoft Employee
2022-09-01T17:20:59.697+00:00
2 additional answers
Sort by: Most helpful
-
Garth Jones 1,661 Reputation points
2022-08-31T12:35:59.277+00:00 Did you confirm that PowerShell existing at that location?
-
Rahul Jindal [MVP] 10,196 Reputation points MVP
2022-08-31T22:17:10.383+00:00 At what stage is the step running in the TS? What are you trying to run as part of the script?