• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Reboot via IP Range ?

hboogz

Junior Member
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 ?
 
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)
 
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
 
Back
Top