Run PowerShell
PowerShell スクリプト(インライン)または .ps1 ファイルを実行し、出力を取得します。
プログラム・プロセスRunPowerShellWindows専用
概要
Run PowerShell は、AutoFlowRPA の プログラム・プロセス カテゴリに属するノーコードの自動化ステップです。 ワークフローが到達すると、1 つのステップで処理を実行します。 4 個のパラメータを設定して、動作を細かく制御できます。 このステップは Windows で動作します。 ビジュアルビルダーでワークフローにドラッグできる 369 個のコマンドの 1 つで、スクリプトは不要です。
概要
PowerShell スクリプト(インライン)または .ps1 ファイルを実行し、出力を取得します。
Run a PowerShell script (inline) or a .ps1 file and capture its output.
パラメータ
| パラメータ | 型 | 必須 | 既定値 | 説明 |
|---|---|---|---|---|
| PowerShell script | multiline | 任意 | Inline PowerShell. Ignored if a .ps1 file is given below. 例: Get-Date 変数に対応 | |
| Script file (.ps1) | file | 任意 | Optional. If set, this file is run instead of the inline script. 例: C:/scripts/task.ps1 変数に対応 | |
| Arguments | string | 任意 | Passed to the .ps1 file (only used with a script file). 変数に対応 | |
| Store stdout in | variable | 任意 | 例: output |
Run PowerShell コマンドの使い方
- 1
AutoFlowRPAを開き、プログラム・プロセスグループからRun PowerShellコマンドをキャンバスにドラッグします。
- 2
サイドパネルでパラメータを設定します。Run PowerShellには設定可能な項目が4個あります。
- 3
ワークフローに接続してRunを押します。すべて端末上でローカルに実行されます。
よくある質問
Run PowerShell コマンドは何をしますか?
PowerShell スクリプト(インライン)または .ps1 ファイルを実行し、出力を取得します。
Run PowerShell コマンドはどのグループに属しますか?
Run PowerShellはプログラム・プロセスグループに含まれます。AutoFlowRPAはコード不要で組み合わせられる369個以上の標準コマンドを搭載しています。
Run PowerShell コマンドにパラメータはありますか?
はい。Run PowerShellには設定可能な項目が4個あり、ビジュアルノードエディタで編集できます。