Updated on 2024-09-04 GMT+08:00

Running PowerShell Commands

This action aims to run the PowerShell commands in a specified path on a Windows host. The following table shows the configuration page.

Table 1 Parameters

Parameter

Description

Action Name

Name of an added deployment action. Max 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.

Control Options

  • Enable this action.
  • Continue the task even if this action fails.

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

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