batch service restart
Posted on 2011-09-08
I'd like to restart a single service on a half dozen Windows 2003/2008 servers or more. I'd like to do this by a script, and would prefer to have this script query a plain text list of server names. If not a script a utility that can do the same would be great as well. I know such a thing can be done easily with a utility like Hyena from SystemTools, but we don't have that tool here.
I'd prefer PowerShell to do this, but have not seen much detailed information on how to perform this type of command remotely and at the same time reference a list of servers in txt or csv format.