IIS 6.0 Adsutil.vbs server name command line parameter

Date posted: 2010-01-12
Last updated: 2026-08-26

Adsutil.vbs is a versatile and useful tool to administer IIS 6.0 servers. But did you know there is a remote server command-line parameter? With this you can use Adsutil.vbs remotely.

Adsutil.vbs is a versatile and useful tool to administer IIS 6.0 servers. But did you know there is a remote server command-line parameter? With this you can use Adsutil.vbs remotely.

-s:

IIS 6.0 Remote management with adsutil.vbs

adsutil.vbs to automate tasks on local and remote servers

You can administer remote IIS 6.0 webservers with this parameter setting. Very convenient in a loop:

for /f %i in (server_list.txt)
 do @cscript c:\Inetpub\AdminScripts\Adsutil.vbs
 GET W3SVC/1/ROOT/AppPoolId -s:%i

You can find adsutil.vbs (and metaacl.vbs) as download here. Save both .txt files as .vbs.

Leave a Comment