I want to get a listing of IIS websites in Perl and their home directory. Does anyone have a module or application to do this? Is there a configuration file anywhere that I can use regular file IO on? Is there an API published anywhere for this, or an opensource implementation I can look at?
The following two articles give a pretty good overview of how to query the IIS metabase via ADSI (using VBScript, in this case):
Practically speaking, all you'd need to do is reimplement something similar using