UiPath Documentation
activities
latest
false

IT Automation activities

Last updated May 20, 2026

Run Script In VM

UiPath.Azure.Activities.RunScriptInVM

Description

Runs a script on a specific virtual machine.

Project compatibility

Windows - Legacy | Windows | Cross-platform

Configuration

Common

  • DisplayName - The display name of the activity.

Input

  • Script - Specifies the script body that needs to run on the virtual machine.
  • ScriptArguments - Specifies the script arguments. It contains two columns, name and value.
  • ScriptType - Specifies the type of the script. The possible values are PowerShell and Shell. The default value is PowerShell.
  • Timeout - Specifies how long to wait (in seconds) for the activity to run before an error is thrown. If not set, the activity runs until completion.
  • VirtualMachine - Specifies the virtual machine on which the operation is performed.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Output

  • ScriptResults - Provides the results of the script execution.
  • Description
  • Project compatibility
  • Configuration
  • Common
  • Input
  • Misc
  • Output

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated