Finding & Downloading Required SQL Server Updates
A little while back, I offered up a one-liner to scan your SQL Server instances and report which ones are out of date. But what if you need to take the next step, determining which updates need to be downloaded? That’s exactly what Josh asked on the SQL Community Slack recently.
Can
Test-DbaBuild
also bring back the KB number? From reading the docs it looks possible as it does return the compliant version form the.json
file, or at least I think it does 😀. The intention is if the KB is returned, then one could pipe it through toGet-DbaKbUpdate
and/orSave-DbaKbUpdate
to have the KB’s automatically downloaded to the desired path.