Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28058

IIS7 & WMI WebAdministration question when searching sites

$
0
0
Is there a way to search for all instances of configured web sites using this syntax? Is there a wild card I can use in the Site.Name query? Dim webAdmin As Object Set webAdmin = GetObject("winmgmts:root\WebAdministration") 'get instance of default web site in IIS7 Dim site As Object 'query wmi provider for info on default web site Set site = webAdmin.Get("Site.Name='default web site'") -- is there a wild card here to return more than one site?

Viewing all articles
Browse latest Browse all 28058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>