Scripted Event Documentation - AMD Radeon Instinct Drivers
Contributors
Download PDF of this page
Overview
NetApp VDS includes a library of pre-defined scripted events that can be used directly in VDS environments and/or duplicated and used as the building blocks for custom scripted events.
For this application, this article covers both the install and uninstall action. For each of these two actions, there is a summary of the script and an example of an activity (trigger) that can be applied to implement the script.
This script package installs/uninstalls AMD Radeon Instinct Drivers using the Chocolatey package manager (https://chocolatey.org/) to do the deployment. Chocolatey is deployed by VDS when VMs are created but this script will also check and install Chocolatey as a prerequisite if it is missing.
Install Script
Suggested Add Script Settings for Install
Built-in scripted events such as this one are pre-populated, can’t be edited and don’t need to be created. These "Suggested Add Script Settings" are simply for reference. To learn how to link this script to an activity, jump to the Suggested Add Activity Settings section below. |
-
Name: Enter
InstallAMDRadeonInstinctDrivers
-
Include Script File: Select
Yes
-
Script File: Select script file and upload (InstallAMDRadeonInstinctDrivers.ps1)
-
Execute With: Enter
C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
Add Script Dialog Window Screenshot

Suggested Add Activity Settings for Install
This example activity will install this application when the app is added to the Workspace in the VDS interface. VDS Scripted Events offers many other types of activity triggers such as "Create Server" which could be used as an alternative to the "Application Install" Event Type. Using "Create Server" would simply run this app install against all newly created VMs in VDS. "Create Server" and other triggers are documented and can be explored here. |
In order for a script in the repository to take any action, an activity must be created to associate that script with a selected trigger. In this case, the activity will link the existing script to the Application Install trigger. Once configured, the action of adding this application to a workspace (from the Workspace > Applications page in VDS) will trigger this script to install this application on all appropriate session hosts in the selected deployment. |
-
Navigate to the Scripted Events section in VDS
-
Under Activities click + Add Activity
-
In the opened dialog window enter the following information:
-
Name: Enter
InstallAMDRadeonInstinctDrivers
-
Description: Optionally enter a description
-
Deployment Select the desired deployment from dropdown
-
Script: Select
InstallAMDRadeonInstinctDrivers
from the dropdown -
Arguments: Leave blank
-
Enabled checkbox:
Check
the box -
Event Type: Select
Manual
from dropdown -
Target Type: Select the
Servers
radio button -
Managed Servers:
Check
the box for each VM that should receive this install.
-
Add Activity Dialog Window Screenshot

Uninstall Script
Suggested Add Script Settings for Uninstall
Built-in scripted events such as this one are pre-populated, can’t be edited and don’t need to be created. These "Suggested Add Script Settings" are simply for reference. To learn how to link this script to an activity, jump to the Suggested Add Activity Settings section below. |
-
Name: Enter
UninstallAMDRadeonInstinctDrivers
-
Include Script File: Select
Yes
-
Script File: Select script file and upload (UninstallAMDRadeonInstinctDrivers.ps1)
-
Execute With: Enter
C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
Add Script Dialog Window Screenshot

Suggested Add Activity Settings for Uninstall
In order for a script in the repository to take any action, an activity must be created to associate that script with a selected trigger. In this case, the activity will link the existing script to the Application Install trigger. Once configured, the action of adding this application to a workspace (from the Workspace > Applications page in VDS) will trigger this script to install this application on all appropriate session hosts in the selected deployment. |
-
Navigate to the Scripted Events section in VDS
-
Under Activities click + Add Activity
-
In the opened dialog window enter the following information:
-
Name: Enter
UninstallAMDRadeonInstinctDrivers
-
Description: Optionally enter a description
-
Deployment Select the desired deployment from dropdown
-
Script: Select
UninstallAMDRadeonInstinctDrivers
from the dropdown -
Arguments: Leave blank
-
Enabled checkbox:
Check
the box -
Event Type: Select
Manual
from dropdown -
Target Type: Select the
Servers
radio button -
Managed Servers:
Check
the box for each VM that should receive this uninstall.
-
Add Activity Dialog Window Screenshot
