KACE Product Support Question
How do you run a shell script in k2000?
I am trying to run a shell script to install windows updates
as a post install task in the k2000.
Basically how do you run powershell scripts in version 3.7 and upis what I want to know..
I read online that you should save the code below as a batch file.......
xcopy “%~dp0*.*” c:\windows\temp\ /s /y /e
powershell -noprofile -command “Set-ExecutionPolicy bypass LocalMachine”
powershell -file C:\windows\temp\myPowershellScript.ps1
and then zip it up with your shell script and upload to the k2., then call the
batch file in the post install task.
Not working for me....... SO HOW DO I RUN ANY POWERSHELL SCRIPT