Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Administering
»
Sql Server Information
Sql Server Information
Rate Topic
Display Mode
Topic Options
Author
Message
AKP
AKP
Posted Monday, December 28, 2009 1:59 PM
Valued Member
Group: General Forum Members
Last Login: Friday, December 28, 2012 1:37 PM
Points: 67,
Visits: 347
Hi Guys,
I want to generate a report which includes server name, IP address, Port number, Instance name, database name, service account, version, edition and other information. I have more than 50 servers and want to hit same script in all servers. Is there any idea ? This is sql server 2005 environment. Any script or code, Plz help me.
Appreciate your help..
AKP
Post #839580
sturner
sturner
Posted Monday, December 28, 2009 2:37 PM
Ten Centuries
Group: General Forum Members
Last Login: Yesterday @ 11:56 AM
Points: 1,315,
Visits: 2,885
some of the things you want are in global variables (@@servername, @@servicename, @@version). Others you'd have to use xp_regread to obtain. The IP you already know if you can connect to the server!
The probability of survival is inversely proportional to the angle of arrival.
Post #839598
muthukkumaran Kaliyamoorthy
muthukkumaran Kaliyamoorthy
Posted Tuesday, December 29, 2009 5:19 AM
Ten Centuries
Group: General Forum Members
Last Login: Yesterday @ 5:22 AM
Points: 1,123,
Visits: 4,423
Go BOL--check the SERVERPROPERTY function.
Hope this ll give more info
Muthukkumaran Kaliyamoorthy
Helping SQL DBAs and Developers >>>
SqlserverBlogForum
Post #839777
Daveee
Daveee
Posted Thursday, December 31, 2009 5:06 AM
Say Hey Kid
Group: General Forum Members
Last Login: Friday, May 17, 2013 9:39 AM
Points: 700,
Visits: 1,005
Powershell is also pretty good for these sorts of tasks. You can easily write some scripts which will loop through a list of servers to find all this information and populate a table somewhere via smo & wmi.
Post #840779
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.