I am try to use multiple command with psexec tools but i am only remotely entered in that computer but it won't be perform another command
psexec -i \\192.168.30.135 -u username -p password cmd & del abc.exe
by using this command line parameter i am able to only entered in that machine remotely but it can't perform an del command to delete that file can any one having solution about this please give me.
Best Answer
If you have access to the remote machine (which I assume you do since you can run PSEXEC) you can copy a batch file to the remote system first, then use psexec to run the batch file.