Hi,

I want to write a Perl script that can access the Microsoft Windows IIS metabase and pull out values and then report the values of various named variables from the IIS metabase as name value-pairs in a file.

Basically, I want some sort of Perl module Windows::IIS that allows me to open a handle to the Microsoft Windows IIS metabase, perform queries agains the Microsoft Windows IIS metabase, and pull in the results.

here is a rough mock-up of what the code wouuld look like:

    my $iss_metabase_handle = new Win32::IIS::metabase(specifications);
    foreach ($name) @names {
        $value = $iss_metabase_handle->get($name);
        $result{$name} = $value;
    }

    foreach ($name) @names {
        print FH ( $name, "=", $result{$name};
    }
}

The problem that I am having is that I didn't find Windows::IIS on CPAN http://www.cpan.org. Thus, I don't have that nice Perl handle to the Microsoft Windows IIS metabase like in the above program. That's what my problem is.

Does anyone know of an existing Perl module available through CPAN or somoe other source that allows me to get a handle to the Microsoft Windows IIS metabase for the purpose of dumping data out of the Microsoft Windows IIS metabase?

Any useful input you have would be greatly appretiated.

Sincerely,

Peter Jirak

jira0004@yahoo.com

In reply to How can I dump the Microsoft Windows IIS metabase in Perl? by jira0004

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.