Detect If Default Web Site is Started?

  • Thread starter Thread starter Martin
  • Start date Start date
M

Martin

Hi,

I'm writing code to detect whether, on the current machine:

1) IIS is installed
2) IIS Service is started
3) Default Web Site is Started

I have successfully implemented code for items 1) and 2).

Can anybody give a sample of item 3)?

Ideally, it will work in VBScript, but any sample will do.

Thanks,
Martin
 
Back
Top