Computing.Net > Forums > Programming > Psexec on remote with local capture

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Psexec on remote with local capture

Reply to Message Icon

Name: keridbey
Date: December 4, 2008 at 12:57:41 Pacific
OS: Windows XP
CPU/Ram: 2 Ghz CPU / 1 Gb RAM
Product: Dell / OPTIPLEX
Comment:

Does anyone know of a way to have PsExec run a batch file on a remote PC, but capture PsExec's output to a file on the local machine? Here's how I would capture it on the remote machine:

psexec \\xxx.xxx.xxx.xxx -u admin -p password -c "C:\BatchFile.cmd" ^> "c:\PsExecOutput.txt"

I have the option of mapping a drive and copying it that way, but I would prefer not to have to take that option due to limited bandwidth.

Thanks!



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Psexec on remote with local capture

Psexec with Batch File www.computing.net/answers/programming/psexec-with-batch-file/18341.html

Check 4 logoff with vbscript www.computing.net/answers/programming/check-4-logoff-with-vbscript/14223.html

psexec error when launching .cmd www.computing.net/answers/programming/psexec-error-when-launching-cmd/11616.html