Skip to content
MSP OS
Guides

Build a reusable script library

Store scripts with the context needed to use them safely.

On this pageBefore you startCreate a scriptUse it in the right environmentKeep scripts maintainable

Before you start

Search ScriptIT for an existing script before creating a new one. Identify its target environment, required permissions, and expected changes. A script saved in the library is not proof that it has been tested on every client system.

Create a script

  1. Open ScriptIT and create a new script.
  2. Fill in Name, Language, and Description. Review the URL slug before saving.
  3. Add the script body and use Notes for prerequisites, usage instructions, testing notes, and rollback steps.
  4. Choose the appropriate Status and save.
  5. Reopen the saved script and confirm the language, content, and notes are correct.

Use it in the right environment

Read the notes before copying or downloading a script. Check the target client, variables, paths, and permissions. Test changes in an appropriate controlled environment before using them on a customer system.

Store secrets through your approved secret-management process, not as hard-coded values in shared scripts. Saving a script in ScriptIT does not itself run it on an endpoint. Syncro Scripts, when connected, is a separate provider surface.

Keep scripts maintainable

Update the description and notes when behavior changes. Include a way to verify the result and explain whether the operation is reversible. If a script fails, preserve the error message without including secrets, compare the environment with its prerequisites, and check troubleshooting before asking for help.

Open in MSP OS

Something missing or unclear?

Tell us where you got stuck so we can improve this guide.

Contact support