UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

IT 自动化活动

上次更新日期 2026年5月20日

在实例上运行脚本

UiPath.GoogleCloud.Activites.RunScriptOnInstance

描述

用于在实例上运行脚本。

备注:
  • 此活动是通过实际运行启动脚本来实现的。
  • 仅当实例的状态为 Running时,才能使用此活动。 将重新启动实例,以便执行脚本。

项目兼容性

Windows - 旧版 | Windows | 跨平台

配置

常见

  • “显示名称”- 活动的显示名称。

输入

  • Instance - The instance on which the operation will be performed. This field supports only GCPInstance variables.
  • Script - The script to run on the virtual machine.
  • ScriptKey - The metadata key that corresponds to the type of script specified in Script parameter. Examples of such keys: "startup-script", "sysprep-specialize-script-bat".

其他

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。

输出

  • CommandOutput - The result of the script execution.

超时

  • ConsoleOutputTimeout - Specifies the amount of time (in seconds) to wait for the console output after the machine is in 'Running' state. The value shall be less than TotalExecutionTimeout. This field supports only integer and Int32 variables. The default value is 60 seconds.
  • TotalExecutionTimeout - Specifies the amount of time (in seconds) to wait for the activity to run before an error is thrown. This field supports only integer and Int32 variables. If not set, the activity runs until completion.
  • 描述
  • 项目兼容性
  • 配置
  • 常见
  • 输入
  • 其他
  • 输出
  • 超时

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新