Automate Device Management with KACE Cloud Scripting
Big news for KACE Cloud users!
With the latest update, you can now automate scripting for both Windows and macOS devices—making endpoint management faster, smarter, and more flexible. Whether you're deploying software, running diagnostics, or customizing device behavior, scripting in KACE Cloud gives you powerful control.
Here are 5 must-explore scripting features to help you get started:
1. Script Testing: Validate Before You Deploy
Avoid surprises by testing your scripts in real time on selected devices. This feature helps you catch errors early and fine-tune your scripts before rolling them out.
How to test a script:
- Go to Libraries > Scripting.
- Select or create a script.
- Click Testing to open the testing pane.
- Choose a device from the drop-down.
- Click Start to run the test.
Test Statuses:
- Pending
- Running
- Finished (Succeeded, Failed, or Timed Out)
After Testing:
- View results and output in the run history.
- Download logs for deeper analysis.
- Refine scripts based on test outcomes.
2. Environmental Variables: Customize with Ease
Make your scripts dynamic by using environment variables. These can be overridden when running on demand or linked to a policy.
Set custom variables:
- Name and Value
- Mark as Hidden if needed (e.g., for credentials)
This makes it easy to reuse scripts across different devices or user groups.
3. Triggers & Scheduling: Automate Your Workflow
Run scripts based on specific events or schedules to streamline operations.
Trigger Options:
- After device startup
- After user logon
- On a schedule (daily, weekly, monthly)
Flexible Scheduling:
- Specific days (e.g., 1, 15, 28)
- Matching patterns (e.g., first Wednesday, last Friday)
- Repeat intervals (e.g., every 4 hours)
Use the 24-hour format (HH:mm) to set precise execution times.
️ 4. Troubleshooting: Resolve Issues Quickly
If a script isn’t running as expected, here are quick checks to get back on track:
- Script Status: Must be in Published state.
- Trigger Configuration: Ensure valid time and repetition settings.
- Deployment Status:
- In Progress
Failed
- Successful
- Awaiting Trigger: Indicates the job is waiting for its next scheduled run.
- Script Edits: Push changes after editing to update deployments.
- Platform Support: Confirm script type compatibility (e.g., PowerShell for Windows, POSIX for macOS).
- Logs & History: Review for errors, skipped runs, or permission issues.
5. Custom Settings: Target Specific Devices or Groups
Tailor scripts for specific devices or user groups with on-the-fly customization.
To customize before deployment:
- Click Customize in the Review and Customize Settings dialog.
- Modify:
- User account
- Environment variables
- Triggers
To run on selected devices:
- Go to Devices.
- Select a device and open the Scripting tab.
- Click Run Script and choose from the library.
- (Optional) Click Customize Settings.
- Add a job description if needed.
- Click Run to execute.
Track job progress in Devices > Scripting > Jobs with dynamic status updates.
What’s Your Favorite Feature?
We’d love to hear how you’re using KACE Cloud scripting!
Drop a comment below and share your favorite feature or use case.
Want to try KACE Cloud for free? Click here to start your trial