In this article we will take a look at different ways in which a DBA or a Developer can Retrieve System and SQL Server Information. The method mentioned is applicable for SQL Server 2005 and all higher versions.
Below mentioned are some of the key information which a DBA would be keen to know about the instance they manage:-
- SQL Server Edition
- Platform 32 bit or 64 bit of SQL Server Installation
- SQL Server Version
- Language of installed product
- Total RAM
- Number of CPUs
- Operating System Version
- Root directory where the instance is installed
- Is it a clustered or non clustered server
- Server Collation
- Have you enabled Always on Availability Feature (Only if the instance is SQL Server 2012)
Different Ways to Get SQL Server Information
There are different ways to get System and SQL Server Information for any server and all the options are mentioned below for your quick reference.
- How to Get System and SQL Server Information using TSQL script
- How to Get System and SQL Server Information using SQLCMD
- How to Get SQL Server Configuration Information Using SQL Server Management Studio
How to Get System and SQL Server Information using T-SQL script
Execute the below mentioned T-SQL script to retrieve all the System and SQL Server Information.
Use master
GO
EXEC xp_msver
"ProductName"
, "ProductVersion"
, "Language"
, "Platform"
, "WindowsVersion"
, "PhysicalMemory"
, "ProcessorCount"
GO

How to Get System and SQL Server Information using SQLCMD
Connect to SQL Server Instance using SQLCMD and paste the below mentioned command to retrieve the relevant SQL Server and System information.
D:\Program Files\Microsoft SQL Server\110\Tools\Binn>sqlcmd -E -S "MYTECHMANTRA\SQL2012" -Q "exec xp_msver 'ProductName', 'ProductVersion', 'Language', 'Platform', 'WindowsVersion', 'PhysicalMemory', 'ProcessorCount'"

How to Get SQL Server Configuration Information Using SSMS
To retrieve the above information, open SQL Server Management Studio -> connect to the SQL Server Instance -> right click Instance -> select Properties to open up Server Properties. In the General Page you would see the relevant information.

Conclusion
In this article you have seen how easily a DBA can retrieve System and SQL Server Information from server which they manage day to day.