Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Query Windows Version

I am putting together a table with server names and their properties such as Number of CPUs, Cores, memory, OS version, etc. I am trying to find an easy way to get the windows OS version number in SSMS. Does anyone know of a query that I can use to return the Windows OS version in SSMS.

like image 935
Wes Palmer Avatar asked Jul 20 '26 05:07

Wes Palmer


1 Answers

This information should be available in the sys.dm_os_windows_info table:

SELECT windows_release
FROM   sys.dm_os_windows_info;
like image 82
Mureinik Avatar answered Jul 21 '26 17:07

Mureinik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!