Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Get the all the SQL Server related services information

By Satyanarayana B,

'
'====================================================================
'Purpose : get the all the SQL Server related services information.
'
'Author : Satyanarayana B
'Created on: 10/11/2008
'
'Input : Servers.txt (Create the servers list in the text file
' and place at current folder).
'Output : Service_list.csv file in the current folder
'
'Usage : cscript service.vbs
'====================================================================
'

Input :== Servers text file

===================

Server1

Server2

Output :== Service_list.csv

====================

System Name, Service Name, Service State, Caption, Start Mode, Account Name
Server1,MSSQLSERVER,Running,MSSQLSERVER,Auto,Domain\User,
Server1,MSSQLServerADHelper,Stopped,MSSQLServerADHelper,Manual,LocalSystem,
Server1,MSSQLServerOLAPService,Running,MSSQLServerOLAPService,Auto,Domain\User,

Server2,MSSQLSERVER,Running,MSSQLSERVER,Auto,Domain\User,
Server2,MSSQLServerADHelper,Stopped,MSSQLServerADHelper,Manual,LocalSystem,
Server2,MSSQLServerOLAPService,Running,MSSQLServerOLAPService,Auto,Domain\User,

Total article views: 1149 | Views in the last 30 days: 6
 
Related Articles
FORUM

Cross Domain Authentication for a Reporting Services Server

I am trying to figure out how to make a Reporting Services server see a database on another domain.

FORUM

SQL Server Domain Migration

SQL Server domain Migration with Application

FORUM

Service Account selection

local service, domain user...

FORUM

SQL Server Agent Service account

Why did I have to add our domain sql server service account manually?

FORUM

restoring to non domain server

need to restore from domain to non domain server

 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones