UiPath Documentation
uipath-cli
latest
false
UiPath CLI ユーザー ガイド
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

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.

概要

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.

オプション

長押し値 (Value)Required説明
--machine <name>stringOrchestrator machine name to run the unattended robot on.
--folder-path <path>string×Fully-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>string×Robot/user account to run as. Defaults to the machine's default identity.
--runtime <name>string×Connected runtime (host/session) name. Ignored for serverless machines; set it to target a specific connected session on a classic machine.
--live-authoringフラグ×Use 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-onlyフラグ×Use 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.

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

データシェイプ(--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.

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.

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.

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.

オプション

長押し値 (Value)Required説明
--message <text>stringText the RemoteSessionAgent echoes back — useful for telling concurrent callers' replies apart.

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.

オプション

長押し値 (Value)Required説明
--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>string×Working directory for the command. Defaults to the restored package folder when a package is restored, otherwise the remote machine's current directory.
--timeout <seconds>Number×Kill the command after this many seconds. Omit for no timeout.

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

オプション

長押し値 (Value)Required説明
--local-path <path>stringPath to the local file to upload.
--remote-path <path>stringDestination path on the remote machine. Parent directories are created.

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.

オプション

長押し値 (Value)Required説明
--remote-path <path>stringPath of the file on the remote machine to download.
--local-path <path>stringDestination path locally. Parent directories are created.

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

参照

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得