Skip to content

Execute Process

Executes a specified process with given arguments and options. This PowerBrick allows you to run any executable or command-line tool on the target machine, providing flexibility for various use cases such as software installation, system configuration, or running custom scripts.

Required

Specifies the full path to the executable or command to run. This should be the complete path to the executable file or a command that is available in the system PATH.\nSample: C:\Windows\System32\dism.exe

Optional

Specifies the command-line arguments to pass to the process.\nSample: /Online /Add-Driver /Driver:C:\Drivers\wifidriver\driver.inf

Optional

Specifies the working directory for the process. If not specified, the process will use its default working directory. Sample: C:\temp

Required — Default: True

Enable to wait for the process to finish before continuing. Disable to continue immediately after process start.

Optional — Default: Hidden

The Window style of the process. (Hidden, Normal, Minimized, Maximized) Allowed values: Hidden, Normal, Minimized, Maximized.

Required — Default: False

Enable to validate that the process path exists on the endpoint before execution. Disable to skip this validation.

Optional — Default: SYSTEM

Specifies the user context in which to run the process. SYSTEM (default), LoggedOnUser (runs as currently logged-on user, retries later if no user is logged on), or TempAdministratorUser (runs as temporary admin account with automatic cleanup). Allowed values: Logged On User, Temp Administrator User, SYSTEM.

Required

Specify how each return code from the process is handled. Success continues the job, Failure stops the job as failed with that return code, and Retry Execution Later stops the job and runs it again later. Any return code not in the list stops the job as failed. Allowed values: Success, Failure, Retry Execution Later.

  • Category: Installer
  • Brick ID: Execute-Process