Solved

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

Posted on 2013-02-06
3
532 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
Comment Utility
have you considered using

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

Author Comment

by:MXadmin
Comment Utility
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
Comment Utility
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

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…
A procedure for exporting installed hotfix details of remote computers using powershell
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 walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now