[Script Of Apr. 5] Determining which version and edition of SQL Server Database Engine is running
The script is available for download from https://gallery.technet.microsoft.com/scriptcenter/Determining-which-version-af0f16f6.
You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
In this chapter will talk about how to determine which version and edition of SQL Server Database Engine is running by SQL Script.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery