OK, got it.
Hey, thanks for coming. Would you mind signing in?
« Back to blog
  • Viewed
    times
  • Favorited 0 times

Filed under

  • application pool
  • asp.net
  • iis7
December 1, 2010

Setting Application Pool Via Command Line in IIS 7

  • Edit
  • Delete
  • Tags
  • Autopost

I needed a way to set the default website's application pool in IIS 7 using the command line.  I discovered this:

%systemroot%\system32\inetsrv\APPCMD set site "Default Web Site" /[path='/'].applicationPool:"ASP.NET v4.0"

Comments (0)

Leave a comment...