Updated on 2025-07-03 GMT+08:00

Running PowerShell Commands

This action aims to run the PowerShell commands on a Windows host. The following figure shows the configuration page.

Table 1 Parameters

Parameter

Description

Action Name

Customized action name displayed in the deployment actions Enter 1 to 128 characters. Do not start or end with a space. Use letters, digits, spaces, and these special characters: -_,;:./()

Environment

Select a host cluster as the deployment object.

PowerShell Commands

Specifies the command to be executed.

Action Control

You can configure whether to enable this setting.

  • Keep running on failure: whether to continue the task even if this action fails.

If the PowerShell command to be executed contains more than 10,240 characters, you are advised to run the PowerShell script extension.

If you encounter any problem during deployment, see Solutions to Common Problems.