/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Running Powershell Scripts From My K1000

02/18/2019 3485 views

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

0 Comments   [ + ] Show comments

Comments


All Answers

1

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.
0

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


https://github.com/ArtisanByteCrafter/KaceSMA/wiki/Scripting-Endpoints

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

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ