Submit a ticketCall us

WebinarUpcoming Webinar: How Help Desk and Remote Support Pays for Itself

Learn how help desk software can simplify ticketing management, allow you to track hardware and software assets, and accelerate the speed of IT support and service delivery. Gain insights on how remote support tools allow your IT team to maximize their efficiency and ticket resolution by expediting desktop troubleshooting, ultimately helping keep end-users happy and productive.

Register here.

Home > Success Center > Storage Manager (STM) > Storage Manager (STM) Documentation > SRM Profiler Administrator Guide > Using rules > External scripts > Use scripts

Use scripts

Updated: June 16, 2017

Scripts are associated with Rules, and Rules are associated with Policies. To associate a script with a rule, do the following:

  1. Create a .bat or .sh script file.
  2. Select the rule you want associated with your script. Add or edit the rule to define when the script is run, what script to run, and script parameters. Select Run a Client Script or Run a Server Script. For more information, see below.
  3. Add the rule to a policy, and Push the Policy to Devices.

Example: When editing a Rule, choose the Run Server Script, choose your script from the drop down menu, and enter parameters if applicable. If you have more than one parameter, enter a space after each parameter.

File:Success_Center/Reusable_content_-_InfoDev/SRM_Profiler/Using_scripts/0300007C_386x411.png

Run Client Script

Select Run Client Script to execute a script on the SRM Profiler agent. Add the path to the script when choosing this option. The script must reside on the same network as the SRM Profiler agent where the script will be executed.

Run Server Script

Select Run Server Script if your script is uploaded to the SRM Profiler server. Server scripts are invoked on the agents that call the script. Parameters are added in the Set the Static Parameter for the script field. If you have more than one parameter, enter a space after each parameter.

 
Last modified

Tags

Classifications

Public