SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 How to identify SQL Versions without logging in
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jarthda
Starting Member

10 Posts

Posted - 02/13/2013 :  12:05:52  Show Profile  Reply with Quote
Is there a way to deduce what version of SQL Serve is installed by looking at the executable and path of the agent and engine? I have a large list of installations and cannot login to them but would like to report on what version they are. These are two examples.

C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\SQLAGENT90.EXE -i MSSQLSERVER


C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\SQLAGENT.EXE -i MSSQLSERVER



Jarthda
Embarcadero/SQL Server/and now... Informatica

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 02/13/2013 :  12:53:19  Show Profile  Reply with Quote
cant you access servers from SSMS? if yes you can use

SELECT @@VERSION

to get vesrion info

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

James K
Flowing Fount of Yak Knowledge

3636 Posts

Posted - 02/13/2013 :  14:55:29  Show Profile  Reply with Quote
I am not 100 percent sure, but I think this power shell script enumerates the servers including their versions: http://gallery.technet.microsoft.com/scriptcenter/Create-Inventory-of-SQL-19d61963 I have only looked through it in the past, never really run it, but please do check it out to see if that will meet your needs.
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2055 Posts

Posted - 02/14/2013 :  10:52:14  Show Profile  Visit jackv's Homepage  Reply with Quote
SELECT SERVERPROPERTY('ProductVersion') AS Version, SERVERPROPERTY('ProductLevel') as SP - once you've logged on

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000