Rodney Buike - Founder and original lazy admin. MVP: System Center Cloud and Datacenter Management

Daniel Nerenberg - Lazy admin 2.0. MVP: Windows Expert - IT Pro

Disclaimer

These postings are provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use.

Create IIS Application Pools with VBS

Windows Server 2003 provides us several ways to manipulate IIS, the first being GUI based. This, while useful, becomes cumbersome if you are administering more than a few sites. The second option is to do things programmatically, either utilizing the build in scripts, or writing your own. TLA reader Gerald Bunch has written an excellent how to on creating IIS Application Pools with VBS.

To do this, one must get their hands dirty. No fears, however, notepad and VB script have caused many a headache, but never a fatality. First, the script


 


csript.exe CreateAppPools.vbs



If we take a look at IIS Manager after the script is run we should see the new Application Pool.



For more information see:


IIS Command Line Administration


Download CreateAppPool.vbs Script

Comments are closed.