Examples of usage
The examples listed here use target IP address 192.0.2.1, userid newuser1 and password newuser100.
- The command below displays a directory listing, of the temp directory, on the machine that is
issuing the command.
To display the contents of temp on a windows target wrcmdpcr newuser1:newuser100 @Endpoint:192.0.2.1 cmd /c dir \temp
To display the contents of temp on a linux target wrcmdpcr newuser1:newuser100 @Endpoint:192.0.2.1 ls /temp
- The command below copies a file from the temp directory to the match directory of a windows
target. Type the whole command on one line.
wrcmdpcr newuser1:newuser100 @Endpoint:192.0.2.1 cmd /c copy c:\temp\1.csv c:\match
- The command below displays the network statistics of a windows target
wrcmdpcr newuser1:newuser100 @Endpoint:192.0.2.1 cmd /c netstat