Create your package as normal, in my example I created a package that will house all of my PS scripts. Make sure it's distributed to all of your DPs / Dist groups.
Once created, setup your package with the following program for each script -
powershell.exe -executionpolicy Bypass -nologo -noninteractive -file .\SomeScript.ps1
Et voilĂ !
No comments:
Post a Comment