Solved

VBScript to know the status of the windows service

Posted on 2012-12-30
2
633 Views
Last Modified: 2013-01-30
Hello Team,

I need a VBscript which can monitor the status of the specific windows service, like IISADMIN & only when service is get in stopped state send out a notification email to speicific DL.

Thanks,
Biplab
0
Comment
Question by:biplabmukh
2 Comments
 
LVL 12

Expert Comment

by:Julian123
ID: 38731430
Yes, you can definatley check the service status with vbscript. Here's a tutorial on how to do it:
http://www.windowsitpro.com/article/vbscript/check-service-status-on-local-or-remote-servers

and one other for good measure:
http://themonitoringguy.com/scripts-code/monitoring-windows-services-vbscript/
.

To send email, I frequently use blat.exe invoked from the script:
http://www.blat.net/

Thanks!
0
 
LVL 65

Accepted Solution

by:
RobSampson earned 500 total points
ID: 38738934
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

772 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