![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: IIS/ADSI/Win32-OLEby $code or die (Deacon) |
on Jan 15, 2002 at 05:44 UTC ( #138790=note: print w/replies, xml ) | Need Help?? |
I've written code to do this before, but don't have access to it at the moment. So I'll do my best with what I can remember. Are any errors produced when you do:
I did a lot of work on IIS last year with ADSI and perl. The following websites were helpful: IISFAQ.com, cwashington.netreach.net and MSDN. If you can comprehend VBScript they will help. Also, download MetaEdit from MS which lets you browse the IIS metabase - gives you a quick access to what properties are where and what they are currently set to.. NOTE: Also, whatever you do keep backups of your metabase - I've corrupted quite a few during the course of my work (of course - it was only a test machine) updated: changed [ $newip ] to \@IPList to be more consistent with original code Simon Flack ($code or die) $,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$, =~y'_"' ';eval"die";print $_,lc substr$@,0,3;
In Section
Seekers of Perl Wisdom
|
|