Solved

osql -L and sqlcmd -L need to display verision type

Posted on 2013-02-06
3
540 Views
Last Modified: 2013-05-04
I can run other command and return all the SQL servers on the network which is great. There of so many of them and I also need the verision (ie standard or enterprise) anyone have a powershell command or dos command that can do that? I have 2003 and 2008 boxes.
0
Comment
Question by:MXadmin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 50

Accepted Solution

by:
Lowfatspread earned 500 total points
ID: 38861980
have you considered using

sqlcmd -Q "select @@version" -dmaster -E  against each server?
0
 

Author Comment

by:MXadmin
ID: 38864188
The idea is to run it from a remote server and display results. If have to log into each machine it defeats the purpose of the project.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 38866480
In other words you are not prepared to copy the output from sqlcmd -L and modify it in a text editor to match what Lowfatspread is advocating?

Or perhaps you are saying that you do not have permission to log on to all those SQL Servers?  If that is the case you may be SOL.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question