List all servers having IIS Role installed

Below is the VBS script for listing all the servers who have IIS roles installed (Server names are from a text file)

The script is












Save the code as .vbs file. Script is also attached in this post.

Create a Text file with name Computer.txt and Enter the server names inside. Example:






Open the command prompt and run the following command:




The result will be as example:








The script is Applicable for Server 2003/2008/2012 including R2..

​Thank you 🙂 download the attached script from  link: Find IIS roles on all servers



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s