Below is a (slightly) improved script that returns all properties from the SERVERPROPERTY()
function in SQL Server.
This is similar to the quick script that I posted recently. The difference is that for some properties, the script below uses CASE
statements to provide a short explanation of the configured value, rather than the raw value (which is often a “1” or “0”). The aforementioned quick script, on the other hand, simply outputs the raw data for all rows.