02/18/2019 1246 views

Is there an intuitive way to run PS scripts from the SMA? 

0 Comments   [ + ] Show comments


All Answers


You can use the scripting module for that or a CIR, depending on what you want to do in the end with it.
You simply add the powershell-skript to the KACE script and start it from the scripting logic.

Answered 02/18/2019 by: Nico_K
Red Belt

  • What do you mean when you say "add the powershell-script to the KACE script"? I see "Run a batch file", but no option for any other scripts.

You can invoke them from the API as well!

Invoke-SmaScript -Server 'https://kace.example.com' -Credential (Get-Credential) -ScriptID 1234 -TargetMachineIDs 5678,2345,4567


Answered 02/26/2019 by: isudothings
Senior Purple Belt