Create and edit Scripted Sequences
This article guides you through the process of creating and editing Scripted Sequences in Nerdio Manager, to simplify operations such as installing applications, managing registry keys, and executing custom scripts. It also features a reference table detailing the types of actions you can add to a scripted sequence.
Prerequisites
Nerdio Manager subscription
The tasks in this procedure apply to the following Nerdio Manager subscription level(s):
AVD Core |
|
AVD Premium |
|
Windows 365 |
* |
Unified Endpoint Management |
* Windows 365 deployment is supported via Intune device management only; direct deployment via Windows 365 provisioning policies is planned for a future release.
System/environment requirements
You must have followed the steps in Enable Scripted Sequences to configure the Scripted Sequences feature for use in your environment.
For Intune deployment, the Task Worker requires the PowerShell script execution policy to allow unsigned script execution. The script will be publicly signed in a future release.
Role-based access control (RBAC) and permissions
Creating and editing scripted sequences in Nerdio Manager requires the Admin role.
Create or edit a scripted sequence
Nerdio Manager provides a graphical interface for creating and editing Scripted Sequences. The outline process for creating and editing sequences is as follows. For details of the actions you can add to a sequence, see Scripted Sequences: task types and parameters.
To create or edit a scripted sequence:
Navigate to Automation > Scripted Sequences, and select the Scripted Sequences tab to display a table of existing scripted sequences.
Optionally, start typing in the Search box to filter the displayed scripted sequences by title and/or description.
-
To open the sequence editor, either
locate the scripted sequence you want to edit in the table and select the corresponding Edit
icon; or
select + New Scripted Sequence to build a new scripted sequence.
To add a new task to the sequence, select + Add Task in the left-hand (Tasks) editor pane.
-
To add a new task group, select New Group in the left-hand (Tasks) editor pane. You can then add tasks to the group by selecting the plus
icon within the group.
Note: Task groups allow you to organize and manage complex sequences more effectively by collecting sets of actions that accomplish an outcome on the target device into a single logical unit. For example, to deploy an application to a device, you might need to run an install action, edit one or more registry keys, and then restart the device. Placing all these actions inside a single task group makes clear both in the sequence editor and in logs that these tasks combine to produce the desired outcome.
-
To edit the parameters of a new or existing task:
In the right-hand (Task Options) editor pane, enter a name for the task, and choose an available Action from the dropdown.
-
Fill in or select any additional parameters for the selected action.
Tip: For a detailed explanation of available actions and their parameters, see Scripted Sequences: task types and parameters.
To move a task up or down in the execution order, or to move it into or out of a task group, use the up and down arrows.
-
To turn a task or task group on or off in the sequence, use the toggle switch.
Note: All tasks are enabled on creation, but tasks that are turned off will be skipped over when you run the sequence while remaining available to edit and re-add to the sequence later.
Select Save to create your sequence or save your changes.
Scripted Sequences: task types and parameters
The following table gives a summary of the types of action you can add to scripted sequences, and the parameters each requires.
Action |
Description |
Parameters/notes |
|---|---|---|
Install Application |
Install a selected application from a supported repository on the target device(s), if it is not already installed. Note: A supported repository is a Winget, Shell Apps, or Intune repository that is known to Nerdio Manager. |
|
Uninstall Application |
Uninstall a selected application on the target device(s), if it is installed |
|
Run PowerShell Script |
Run a custom PowerShell script on the target device(s) |
Enter or paste your script directly into the editor. |
Restart |
Restart the target device(s) |
N/A |
Delay |
Wait the designated amount of time before moving on to the next task in the sequence |
|
Add Registry Key |
Add the specified registry key to the target device(s) Note: This action creates a blank registry key. To specify a value for the key, run the Set Registry Value action. Caution: If the specified registry key already exists on the target device, the task will fail and no further tasks from the sequence will run on the device. To work around this limitation, we recommend creating the registry key via the Run PowerShell Script action, using a script that first checks for its existence. |
|
Delete Registry Key |
Delete the specified registry key from the target device(s) Caution: If the specified registry key does not exist on the target device, the task will fail and no further tasks from the sequence will run on the device. To work around this limitation, we recommend deleting the registry key via the Run PowerShell Script action, using a script that first checks for its existence. |
|
Set Registry Value |
Set the specified registry value on the target device(s) Caution: If the specified registry key does not exist on the target device, the task will fail and no further tasks from the sequence will run on the device. To work around this limitation, we recommend setting the registry value via the Run PowerShell Script action, using a script that first checks for its existence. |
|
Need help?
Raise a support ticket for this item.
Comments (0 comments)