Press "Enter" to skip to content

Get the SQL Server Version via dbatools

Shane O’Neill wants to know what version you’re on:

I will discuss different ways to get the SQL Server version using PowerShell.

I’ll explore a function you can use, and how a dictionary/hash table could also work.

Finally, I’ll discuss how neither of these are needed since dbatools/SMO has a better way.

Click through for scripts and examples.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.