Scripts

Manage a library of PowerShell and Command line scripts as building blocks for automation

S
Written by Shoaib
Updated over a week ago

For teams managing large IT infrastructures, usage of scripting is key to their success. Gorelo provides the Scripts feature through which you can manage a library of PowerShell and Command line scripts. These scripts can then be used in Policies or run independently when the need arises.

You can access the Scripts library by clicking on Scripts in the main menu.

Create a Script

Click on Create a Script at the bottom left of the view

On the view which gets displayed, there are three different sections.

The main area contains a field for entering a Name for the script while a text editor is provided for entering the actual script.

On the right side is a pull-out Settings area

From here you can set the Script Type (PowerShell or Command line), Timeout for the script's execution and choose if the script should be run in the context of the user.

Additionally, you can access Custom Fields currently in the system or add a new one.

At the bottom of this view, there is a section which allows you to execute this script on a Device.

When the Run button is clicked, the output is displayed in the terminal below.

When you are ready to add the script to your library, click on Save at the top right. Now its available for use later in Scripts as well as in Policy module.

Did this answer your question?