Set-WindowsImageExecutionPolicy
By default, WinPE has the PowerShell Execution Policy to Restricted. This can easily be changed

Example
One thing to keep in mind that if you don't specify the Set-WindowsImageExecutionPolicy Path, it will apply to all mounted Windows Images


Last updated
Was this helpful?