UiPath Documentation
uipath-cli
latest
false
Guia do usuário da UiPath CLI
Importante :
Este conteúdo foi traduzido com auxílio de tradução automática. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

uip rpa remote

Syntax and options for `uip rpa remote`, which configures and drives a remote Orchestrator unattended robot — target configuration, UI Automation sessions, process execution, and file transfer.

uip rpa remote operates on a remote Orchestrator unattended robot: configure which machine/robot/runtime to target, start or stop a remote UI Automation design session on it, run shell commands on it, and transfer files to/from it. Once configured, uip rpa run --remote and debug start --remote route execution to that machine instead of running locally.

Requires Orchestrator sign-in (uip login) for every verb.

Resumo

uip rpa remote configure --machine <name> [--folder-path <path>] [--robot <name>] [--runtime <name>] [--live-authoring | --remote-run-only]
uip rpa remote status
uip rpa remote start
uip rpa remote stop
uip rpa remote echo --message <text>
uip rpa remote exec --command <cmd> [--package-id <id> --package-version <v>] [--working-directory <dir>] [--timeout <seconds>]
uip rpa remote upload-file --local-path <path> --remote-path <path>
uip rpa remote download-file --remote-path <path> --local-path <path>
uip rpa remote configure --machine <name> [--folder-path <path>] [--robot <name>] [--runtime <name>] [--live-authoring | --remote-run-only]
uip rpa remote status
uip rpa remote start
uip rpa remote stop
uip rpa remote echo --message <text>
uip rpa remote exec --command <cmd> [--package-id <id> --package-version <v>] [--working-directory <dir>] [--timeout <seconds>]
uip rpa remote upload-file --local-path <path> --remote-path <path>
uip rpa remote download-file --remote-path <path> --local-path <path>

uip rpa remote configure

Resolve and store the remote debugging target (folder → robot → machine → runtime), and start the remote UI Automation design session on it. remote stop turns the session off.

Opções

LongValorRequiredDescription
--machine <name>StringsimOrchestrator machine name to run the unattended robot on.
--folder-path <path>StringnãoFully-qualified Orchestrator folder the robot/machine belong to (e.g. Shared/Finance) — the robot, machine, and runtime are resolved within it. Defaults to the backend's current folder.
--robot <name>StringnãoRobot/user account to run as. Defaults to the machine's default identity.
--runtime <name>StringnãoConnected runtime (host/session) name. Ignored for serverless machines; set it to target a specific connected session on a classic machine.
--live-authoringBandeiranãoUse the target for live authoring: one long-lived remote session job serves every remote command, run and debug session; the remote UI Automation design session becomes available and the remote screen is streamed. Mutually exclusive with --remote-run-only. Required before remote echo will work.
--remote-run-onlyBandeiranãoUse the target for remote runs only: a run or debug session is its own Orchestrator job, with no remote UI Automation session. This is the default for a target that has never had a mode stored. Mutually exclusive with --live-authoring.

Passing both --live-authoring and --remote-run-only fails client-side — they are the two modes of one connection; pass at most one. Passing neither leaves the stored mode unchanged.

Exemplo

uip rpa remote configure --machine BotMachine --folder-path "Shared/Finance"
uip rpa remote configure --machine BotMachine --folder-path "Shared/Finance"

Formato dos dados (--output json)

Raw pass-through of the backend's { success, ...resolved-config } payload — includes the resolved folder/robot/machine/runtime once matched.

uip rpa remote status

Show the remote connection currently configured for the signed-in tenant, as resolved against Orchestrator. Read-only — does not change or start anything. No options.

Exemplo

uip rpa remote status
uip rpa remote status

uip rpa remote start

Start remote UI Automation: set up a UIA design-experience session on the configured remote agent, so uip rpa uia commands with --remote drive that machine. Fails if no target is configured (remote configure first). Starting an already-running session is a no-op; reconfiguring to a different target restarts it. No options.

Exemplo

uip rpa remote start
uip rpa remote start

uip rpa remote stop

Tear down the current remote UIA session and release the agent. Idempotent — succeeds even when no session is running or the target is no longer configured. A later uia --remote call starts a new session automatically. No options.

Exemplo

uip rpa remote stop
uip rpa remote stop

uip rpa remote echo

Round-trip a message off the RemoteSessionAgent running on the configured remote agent and print the reply — a connectivity check. Live Authoring only (remote configure --live-authoring); Remote Run Only has no agent to answer. Starts the agent on first use; every echo travels on its own private channel, so concurrent callers only ever see their own reply.

Opções

LongValorRequiredDescription
--message <text>StringsimText the RemoteSessionAgent echoes back — useful for telling concurrent callers' replies apart.

Exemplo

uip rpa remote echo --message "ping"
uip rpa remote echo --message "ping"

uip rpa remote exec

Execute a shell command on the configured remote agent (cmd.exe /c on Windows, /bin/sh -c otherwise), streaming output back live. There is no local mode — this always runs on the remote machine.

Opções

LongValorRequiredDescription
--command <cmd>StringsimShell command line to run remotely (e.g. dir, ls -la). When a package is restored (see below), can be a path relative to the package folder.
--package-id <id>StringconditionallyNuGet package to restore on the remote machine before running the command. Requires --package-version together.
--package-version <v>StringconditionallyVersion of --package-id to restore. Required when --package-id is set — passing one without the other fails client-side.
--working-directory <dir>StringnãoWorking directory for the command. Defaults to the restored package folder when a package is restored, otherwise the remote machine's current directory.
--timeout <seconds>NúmeronãoKill the command after this many seconds. Omit for no timeout.

Exemplo

uip rpa remote exec --command "dir" --timeout 30
uip rpa remote exec --command "dir" --timeout 30

uip rpa remote upload-file

Upload a local file to the configured remote agent, transferred through a temporary Orchestrator storage bucket (created and deleted automatically).

Opções

LongValorRequiredDescription
--local-path <path>StringsimPath to the local file to upload.
--remote-path <path>StringsimDestination path on the remote machine. Parent directories are created.

Exemplo

uip rpa remote upload-file --local-path ./data.csv --remote-path "C:\Bots\data.csv"
uip rpa remote upload-file --local-path ./data.csv --remote-path "C:\Bots\data.csv"

uip rpa remote download-file

Download a file from the configured remote agent to a local path, transferred through a temporary Orchestrator storage bucket.

Opções

LongValorRequiredDescription
--remote-path <path>StringsimPath of the file on the remote machine to download.
--local-path <path>StringsimDestination path locally. Parent directories are created.

Exemplo

uip rpa remote download-file --remote-path "C:\Bots\output.log" --local-path ./output.log
uip rpa remote download-file --remote-path "C:\Bots\output.log" --local-path ./output.log

Veja também

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades