application pool iis7
i'm perplexing distribute concentration pool web site iis7 controlling vb script:
' bond wmi webadministration namespace.'
set owebadmin = getobject("winmgmts:root\webadministration")
' collect concentration arrangement the web site name path.'
set oapp = owebadmin.get("application.sitename='default web site',path='/site'")
' mention new concentration pool name save it.'
oapp.applicationpool = "newapppool"
oapp.put_
the above book working!
is there improved proceed distribute concentration pool web site underneath iis (using script)?
Comments
Post a Comment