To execute remotely commands add :: before your message and then write the command line to be executed.
If run with /client then write on your message ::command
if run from command line write rmsg.exe IP “::command”
ie.: rsmsg.exe 192.168.1.2 “::ipconfig /flushdns”
on the recieving terminal the server module will execute cmd.exe /c “command line” on the -1 session of windows (it will not appear on the user’s screen). However it will run the command with highest available priviledges w/out misbehaving for using the -1 session.
To run commands with higher priviledges either run rsmsg with admin rights or send the command with runas administrator …etc.