Here's whats going on. I've been working on auto-provisioning NT web
sites for the past few weeks. Currently I have a perl script that
queries a sql database for information on new websites.. it then builds
the directory structure.. yada yada yada... then it calls a vbscript
which is able to access the IIS metabase and create objects and such.
What I would like to do is have a perlscript (activeperl) access the
metabase. But I'm having trouble. It 'seems' that a call to
$obj = $WScript->GetObject ("IIS://LocalHost/w3svc")
does not return anything.
The equivelent call in vbscript is
Set obj = GetObject("IIS://LocalHost/w3svc")
and it works fine.
I'm wondering if I'm trying to fetch the object correctly.. or am I just
referencing it correctly... or is this futile?
Please.. help asap.
Sent via Deja.com http://www.deja.com/
Before you buy.
Tobias
In article <8eam3c$8l9$1...@nnrp1.deja.com>,
--
Tobias