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
Blog » 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
Modern Workplace consultant and a Microsoft MVP in Windows and Devices.
Infrastructure architect with focus on Modern Workplace and Microsoft 365 security.
Cloud & security specialist with focus on Microsoft backend products and cloud technologies.
Cloud & Security Specialist, with a passion for all things Cybersecurity
Cloud and infrastructure security specialist with background in networking.
Infrastructure architect with focus on design, implementation, migration and consolidation.
Infrastructure consultant with focus on cloud solutions in Office365 and Azure.
Modern workplace and infrastructure architect with a focus on Microsoft 365 and security.