Purpose
The purpose of this document illustrates the multiple ways to execute ITScripts using Ivanti Patch for Windows.
Solution
How to Execute an ITScript from the Home Page:
1. Type a name for the operation you are about to perform. (optional)
2. Select the desired machine group(s).
3. On the ITScripts tab, select how you want to execute the script.
- ITScript: When this option is selected, additional fields are displayed that let you:
- Choose the script you want to execute (scripts defined as target type = Console are not available here)
- Edit any parameters associated with the script
- ITScript template: When this option is selected, this area lets you choose the template you want to use when executing the script.
4. Select when you want to execute the script (Now, Once, or Recurring).
- Run: This is the button name if Now is your selected scheduling option. This will immediately begin executing the script on the machines in the machine group(s).
- Schedule: This is the button name if Once or Recurring is your scheduling option.
5. Click either Run or Schedule.
How to Execute a ITScript from the Machine View or Scan View:
You can execute a script from within Machine View or Scan View by using right-click commands.
1.Highlight one or more machine(s).
2.Right-click the machine(s), select ITScripts, and then specify how you want to execute the script.
- Open prompt: Enables you to start a Windows PowerShell session with the selected machine.
- Run script: Opens the Run Operation dialog, which enables you to run a script with or without a template.
How to Execute a ITScript from a Machine Group:
1. In the Machine Groups pane select the desired machine group.
2. Within the machine group dialog click Run Operation.
3. On the Run Operation dialog, select when and how you want to execute the script.
- ITScript: When this option is selected, additional fields are displayed that let you:
- Choose the script you want to execute (scripts defined as target type = Console are not available here)
- Edit any parameters associated with the script
- ITScript template: When this option is selected, this area lets you choose the template you want to use when executing the script.
4. Click either Run or Schedule.
- Run: This is the button name if Now is your selected scheduling option. This will immediately begin executing the script on the machines in the machine group.
- Schedule: This is the button name if Once or Recurring is your scheduling option.
Affected Products
- Ivanti Patch for Windows 9.3 +