We want to reboot 30+ servers at the same time. This heart of the matter comes down to this script.
get-content c:\Servers.txt | %{Restart-computer –computername $_ –force}
But is using PowerShell really a good solution to the problem? I don't know what version of Powershell (if any) is running on each remote server, what firewall issues we may encounter, either. I need a "rock solid" approach that does the job and hopefully spares me from needing to setup a "reboot" script on each individual server.
TIA,
Barkingdog