shutdown /s /m \\192.168.x.x /t 0 /f /c "System Shutting Down"

Just use above along with a loop for each IP Address and you are sorted as long as you run it as admin.