- powershell.exe -executionpolicy bypass -File install.ps1
25 March 2013
SCCM: Powershell Command LinePosted By: Mick Pletcher - 8:51 AM
In order to run a powershell script as a task sequence/application in SCCM or MDT, you will need to use the following command line in MDT/SCCM to correctly execute the script:
NOTE: You may need to enter the path to the powershell.exe and to the install.ps1, although for the install.ps1, it should see it from the path you enter in the working directory field.
About Mick PletcherMick Pletcher
My blog is here to help solve issues I have encountered and solved, publish scripts I have written, and educate others in understanding areas that are not well covered