views:

59

answers:

0

I'm trying to restart a significant number of windows computers on different domains, using the same local admin credentials that work across domains.

psshutdown.exe -r -f -t 600 -e p:0:0 -m "This reboot is a scheduled weekly reboot." -u "admin username" -p adminpw  @mon.txt 1>4-26-mon.log 2>&1

Honestly, I just want to log the ones that aren't working, but 2>log.file doesn't seem to do it quite correctly. I can post some sample logs if I need to/