« Previous Next »

Answered Thread: vb script to create application pool required

Last post 10-19-2009 4:51 PM by robol. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 07-25-2009, 11:43 AM

    • robol
    • Top 100 Contributor
    • Joined on 06-16-2008, 5:11 AM
    • Melbourne
    • Posts 54

    vb script to create application pool required

     hi,

     I am looking for a vb script which will create application pool for existing websites on iis 6.0

     

    Thanks

    rob

  • 07-26-2009, 7:11 PM In reply to

    Answered Re: vb script to create application pool required

     http://thelazyadmin.com/blogs/thelazyadmin/archive/2006/06/21/Create-IIS-Application-Pools-with-VBS.aspx

    More from here too:

    http://www.google.co.uk/search?q=iis+scripts+create+application+pool

  • 10-16-2009, 4:18 PM In reply to

    Answered Re: vb script to create application pool required

    Since I was looking for this as well and just figured it out I thought I would share.

    Use adsutil.vbs (located in C:\Inetpub\AdminScripts)

    from the commandline:

    adsutil.vbs CREATE w3svc/AppPools/<app pool name> IIsApplicationPool

    for example:

    adsutil.vbs CREATE w3svc/AppPools/MyApplicationPool IIsApplicationPool

    I hope this shortens someone else's search.

    Best,

    - Rich

  • 10-19-2009, 3:30 PM In reply to

    Re: vb script to create application pool required

    Certainly, you can use iisweb to set the application pool:

    iisweb /create X:\VirtualDir "SiteName" /ap "ApplicationPoolName"

  • 10-19-2009, 4:51 PM In reply to

    • robol
    • Top 100 Contributor
    • Joined on 06-16-2008, 5:11 AM
    • Melbourne
    • Posts 54

    Re: vb script to create application pool required

    thanks guys for the help ...

     

Page 1 of 1 (5 items)
Microsoft Communities