Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4532

Powershell Script to Install SQL server 2016 Service pack on Always-on and standalone servers

$
0
0

Hi Friends,

I am new to PowerShell we have 300+ SQL database servers and we have to install latest service pack\CU for every 3 months for all servers including production, pre-prod and dev\test as well but this task is very tedious every 3 months and resource and time consuming process I am looking to automate this task with below listed activities.

1. Script to copy the installation files to all destination servers

2. Invoke\executes the executable with the silently .

3. Run the report after some time, which shows us updated service pack

All of my production servers are configured 3 node cluster and all dev\test are standalone but in production and lower environment I have multiple instances in every server can you please help me to get code.

Thanks,

Srini.B 


Viewing all articles
Browse latest Browse all 4532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>