Reboot via IP Range ?

hboogz

Junior Member
Dec 10, 2006
23
0
0
Does anyone know or is willing to divulge a tool or how to reboot windows machines on-demand via an IP range ?

does psshutdown do this ?

e.g. I have client workstations reserved an ip range of 192.168.1.50-192.168.1.254

any ideas ?
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
psshutdown can do this in batch file form....not too tough, I can't find my old batch files though, something like foreach (1 2 3 4 5) do psshutdown \\192.168.0.$_ (yes, I know that is more perl then batch, but same general idea...I forget batch because I use it so rarely)
 

sieistganzfett

Senior member
Mar 2, 2005
588
0
0
i'm too lazy to ever figure out the variable incrementing part, but if the range is the same, create a batch file basically doing this...

psshutdown.exe -t 10 -f -r \\192.168.1.50
psshutdown.exe -t 10 -f -r \\192.168.1.51
psshutdown.exe -t 10 -f -r \\192.168.1.52
psshutdown.exe -t 10 -f -r \\192.168.1.53

all the way to .254