Running PowerShell from Task Sequence
I often need to use a PowerShell script in a task Sequence, so in order to do that without any problems I use the following command line: Powershell.exe -noprofile -ExecutionPolicy Bypass -file .Script.ps1 PowerShell.exe Command-Line The Windows PowerShell Profile