使用例
ここでリストする例では、対象 IP アドレス 192.0.2.1、ユーザー ID newuser1、およびパスワード newuser100 を使用しています。
- 以下のコマンドは、コマンドを発行しているマシンの一時ディレクトリーのディレクトリー・リストを表示します。
To display the contents of temp on a windows target wrcmdpcr newuser1:newuser100 @Endpoint:192.0.2.1 cmd /c dir \tempTo display the contents of temp on a linux target wrcmdpcr newuser1:newuser100 @Endpoint:192.0.2.1 ls /temp - 以下のコマンドは、temp ディレクトリーのファイルを Windows ターゲットの match ディレクトリーにコピーします。コマンド全体を 1 行で入力してください。
wrcmdpcr newuser1:newuser100 @Endpoint:192.0.2.1 cmd /c copy c:\temp\1.csv c:\match - 以下のコマンドは、Windows ターゲットのネットワーク統計を表示します。
wrcmdpcr newuser1:newuser100 @Endpoint:192.0.2.1 cmd /c netstat