Deploying C# Windows Service in multiple servers
I've created a C# windows service and its ready to be deployed. I have 215 servers on which this windows service is to be installed.
I have to login to each box and deploy the service. Is there an automated way to enter the a list of server names and deploy the service in all the listed servers at one shot?
Thank you, Vinay
If the servers are part of an Active Directory domain then you can create a .msi installer for your service and deploy it through Active Directory.
See this question for the steps to do this.
I believe this can be done using WMI and PowerShell remoting. Here's some links of that nature:
- http://blogs.technet.com/b/danstolts/archive/2011/03/07/how-to-install-powershell-on-windows-server-2003-and-enable-remote-powershell-management-all-servers-should-have-this-done.aspx
- https://stackoverflow.com/questions/4662309/install-windows-service-on-a-remote-machine-using-powershell-2-0