PS: Reboot multiple remote hosts

PS: Reboot multiple remote hosts

Powershell has a new management Cmdlet that allows you to reboot remote hosts with one line of code. Its a much better replacement for traditional shutdown command also has a better feature set allow you to wait on services, etc

Restart-Computer -ComputerName "Server01", "Server02", "localhost"
Advertisements