Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
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: 1212 | Views in the last 30 days: 2
 
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