http://technet.microsoft.com/en-us/sysinternals/bb795533
PsExec Execute processes remotely.
The following command launches an interactive command prompt on \\marklap:psexec \\marklap cmd
This command executes IpConfig on the remote system with the /all switch, and displays the resulting output locally:
psexec \\marklap ipconfig /all
This command copies the program test.exe to the remote system and executes it interactively:
psexec \\marklap -c test.exe
Specify the full path to a program that is already installed on a remote system if its not on the system's path:
psexec \\marklap c:\bin\test.exe
No comments:
Post a Comment