Thursday, March 31, 2005 11:06 PM
by
Ken
Enumerating/Listing websites and their state
A friend of mine recently asked whether it would be possible to create a listing of each website on a server, and it's current state (stopped, started etc). Having each site as a link to the actual site would be an added bonus. Something like:
No problems. Here is some sample code (VBScript, with VB.NET coming soon) to enumerate websites (and state) on an IIS box.