Solved

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

Posted on 2013-02-06
3
535 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…

777 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