HelloID provides you with the power and flexibility to run custom PowerShell scripts inside tasks. This allows you to perform actions and create integrations that are specific to your organization's needs.
There are two basic ways to create a PowerShell script:
- Create a standalone PowerShell script from this screen, and then add it to a task
- Create an encapsulated PowerShell script directly inside a task
The difference is re-usability. If you have a PowerShell script which you plan to use in several ways, you may want to create a standalone script here and add it to multiple separate tasks, so it is centrally defined and editable. On the other hand, if you have a script which you plan to use in just one task, you may want to encapsulate it directly inside a task. This lessens the chances of it being accidentally edited and broken.
Go to Automation > PowerShell Scripts to get an overview of the standalone PowerShell scripts in your HelloID environment.
The following information is displayed:
The name of the PowerShell script.
The current state of the script. Enabled scripts are available to be assigned to tasks, while disabled scripts are not.
Copy, edit, or delete a script from this menu.
Note that all PowerShell scripts created here are executed by a HelloID Agent in your on-premise environment, within the user context of the HelloID Agent Service's logon account. It is not possible to execute these scripts in your HelloID cloud tenant.