Adsutil.vbs is a versatile and useful tool to administer IIS 6.0 servers, and everyone knows it, of course. But, did you know there is a remote server command line parameter? With this you can use Adsutil.vbs on remote Windows Server IIS 6.0 servers. The parameter is:
-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.
Thank you very much! <3 ❤️
Hi, my name is Jan. I am not a hacker, coder, developer or guru. I am merely an application manager / systems administrator, doing my daily thing at Embrace – The Human Cloud. In the past I worked at CLDIN (CLouDINfra) and Vevida. With over 20 years of experience, my specialties include Windows Server, IIS, Linux (CentOS, Debian), security, PHP, websites & optimization. I blog at https://www.saotn.org.