UiPath Documentation
uipath-cli
latest
false
Guía del usuario de UiPath CLI
Importante :
Este contenido se ha traducido mediante traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

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.

Sinopsis

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.

Opciones

LargoValorObligatorioDescripción
--machine <name>StringOrchestrator machine name to run the unattended robot on.
--folder-path <path>StringNoFully-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>StringNoRobot/user account to run as. Defaults to the machine's default identity.
--runtime <name>StringNoConnected runtime (host/session) name. Ignored for serverless machines; set it to target a specific connected session on a classic machine.
--live-authoringMarcaNoUse 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-onlyMarcaNoUse 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.

Ejemplo

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

Forma de datos (--json de salida)

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.

Ejemplo

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.

Ejemplo

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.

Ejemplo

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.

Opciones

LargoValorObligatorioDescripción
--message <text>StringText the RemoteSessionAgent echoes back — useful for telling concurrent callers' replies apart.

Ejemplo

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.

Opciones

LargoValorObligatorioDescripción
--command <cmd>StringShell 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>StringNoWorking 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úmeroNoKill the command after this many seconds. Omit for no timeout.

Ejemplo

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).

Opciones

LargoValorObligatorioDescripción
--local-path <path>StringPath to the local file to upload.
--remote-path <path>StringDestination path on the remote machine. Parent directories are created.

Ejemplo

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.

Opciones

LargoValorObligatorioDescripción
--remote-path <path>StringPath of the file on the remote machine to download.
--local-path <path>StringDestination path locally. Parent directories are created.

Ejemplo

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

Ver también

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado