> How can I find this stuff with Perl? > I need to dump the SMTP and ftp settings, what MS calls > properties, from > a machine for a report but the setup is done using IIS with GUIs. > > Anyone know how to do this? Where to get the information from? > I've scoured the registry and can't find where Gates' hides it.
Depends on which version of IIS you mean. IIS 6 stores its info in a plain xml file, system32\inetsrv\metabase.xml. You can open this and play with standard tools, although you need to configure IIS to allow edits while running, or shutdown IIS, before making changes. You should find most of what you need in there. Alternatively, you could check out the ADSI/WMI providers: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/I IS/43a51d34-7c81-413b-9727-ec9a19d0b428.mspx IIS 5 is not as easy since the metabase is a proprietry binary format, but there are still command line/COM interfaces to management I think. I've never used any of this stuff but it looks promising. Cheers, Paul ***************************************************************** Gloucester Research Limited believes the information provided herein is reliable. While every care has been taken to ensure accuracy, the information is furnished to the recipients with no warranty as to the completeness and accuracy of its contents and on condition that any errors or omissions shall not be made the basis for any claim, demand or cause for action. The information in this email is intended only for the named recipient. If you are not the intended recipient please notify us immediately and do not copy, distribute or take action based on this e-mail. Gloucester Research Limited, 5th Floor, Whittington House, 19-30 Alfred Place, London WC1E 7EA ***************************************************************** _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
