Toggling services on/off with VBScripting

I was tired of always having to start/stop my IIS and MSSQL services (I turn then off when I’m not developing), so I decided to write a small VBScript to help me do it. This script can be used to start/stop a number of services and their dependents, in a toggle start/stop fashion. It also allows you to specify a explicit action, either start or stop.

I’ve made it easy to modify it for use with other services, so have a look and let me know what you think:

Download: StartStopServices.vbs

One Response to “Toggling services on/off with VBScripting”

  1. Zena Says:

    Good post.

Leave a Reply