Feature Definitions and Glossary
OS MANAGEMENT
Powered By GitBook
Custom Scripts - PowerShell, VB, Batch, Executable [.exe]

Creating the Script

To push a custom script using Faronics Deploy, the script will need to be hosted on a web server (see Quick Guide to Self-Hosting Custom Scripts for further information). The supported scripts are PowerShell, VB Script, Batch Script and Executable [.exe]. See the Custom Scripts Library for some example scripts.

Adding Scripts to Deploy

Once the script is hosted, it can be added to the Faronics Deploy grid. To do this, go to the Custom Script button on the top right corner of the Applications Control Grid and select the drop-down arrow to Create Custom Script.
Create a Custom Script
1. Select the Control Grid tab on the top menu bar.
2. Navigate to the Applications tab.
3. Click CUSTOM SCRIPT.
4. Select Create Custom Script.
5. Enter a Name for the script.
6. Enter the URL that points to the location where the script is being hosted.
7. Select a script type, Powershell, VB Script, Batch Script, or Executable [.exe] (PowerShell in this example).
8. Select the account to Run As; either System Account or Specified User Account.
9. Click SAVE TO GRID.
Once saved, the script can be pushed to an individual computer or groups of computers. It can also be scheduled using a Policy.
Configure the Custom Script

Pushing the Script

If a custom script has been saved to the grid, it can be pushed out to computers immediately or at a scheduled time. Custom scripts will appear in the Applications Control Grid.
Locate Custom Scripts in Application View
1. Select the Control Grid tab on the top menu bar.
2. Navigate to the Applications tab.
3. Select the Custom Scripts column header.
4. Select the grid for the Computer that you want to run the Custom Script on (DESKTOP1 in this example).
Run the Custom Script
5. Click the RUN button.
6. Confirm the action by clicking RUN on the confirmation dialog.
The Custom Script has successfully been run on the individual computer.

Copy a Script (Duplicate)

A script can be duplicated or copied to another site.
View Custom Scripts
1. Select the Control Grid tab on the top menu bar.
2. Navigate to the Applications tab.
3. Click CUSTOM SCRIPT.
4. Select View Custom Scripts.
5. Select a Script to copy, then select the COPY drop-down menu.
Select Duplicate
6. Select Duplicate.
7. The script will be named "copy of - xxxxxxx", its a direct copy with just the name change. Make any changes you require to the name, URL, Type, Run As, or Command-Line, then click SAVE TO GRID.
Save Duplicate Script
The copied script will now appear in the list of Custom Scripts. It will also be available to select from the Applications Control Grid View.
Search for the script in the grid using the search option. If your applications are grouped, you will see a column named Custom Scripts. Selecting the Custom Script header will display all the scripts that have been added to the grid.

Copy to a Site

View Custom Scripts
1. Select the Control Grid tab on the top menu bar.
2. Navigate to the Applications tab.
3. Click CUSTOM SCRIPT.
4. Select View Custom Scripts.
5. Select a Script to copy, then select the COPY drop-down menu.
6. Check the box(es) next to the site(s) to copy the script.
7. Click COPY TO SITES.
The copied script will now appear in the specified sites in their list of Custom Scripts. It will also be available to select from the Applications Control Grid View.
Search for the script in the grid using the search option. If your applications are grouped, you will see a column named Custom Scripts. Selecting the Custom Script header will display all the scripts that have been added to the grid.
Last modified 4mo ago