K’s Weblog

Technology and the Interweb for the Real World

Candles on the Coffee Table

Hidden Treasure! - IIS 6 Admin Scripts

January 20th, 2007 · No Comments

Not long ago I discovered some hidden treasure on one of my Web Servers - the IIS 6.0 Admin Scripts. These area bunch of pre-prepared scripts to make administration of IIS much quicker (and much easier to do remotely!) not to mention much more “automatable”.

I’m not going to get into huge detail here, but I whipped up a couple of batch files to do some work in my office a couple of weeks back. Here’s an example of one:

# iisweb /create “Spiffy Site” d:\inetpub\wwwroot\spiffysite.mydomain.com “ASP.NET 2.0 App Pool” /dontstart

# iisvdir /create “Spiffy Site” “images” d:\inetpub\wwwroot\common\images

# iisvdir /create “Spiffy Site” “scripts” d:\intpub\wwwroot\common\scripts

# iisweb /start “Spiffy Site”

Notes:

  • The scripts are all located in the System32 folder (usually C:\Windows\System32).
  • These must be run with CScript, you will be prompted if the mapping is not set up

Tags: Admin Tools · Utilities

Related Posts

  • Of W3WP Processes and Application Pools
  • Microsoft Longhorn/IIS 7.0 GoLive
  • Hidden Details in OS X Leopard
  • Wordpress Plugin: Admin Links Widget
  • Admin Links Widget for Wordpress 1.1.0 Released



  • 0 responses so far ↓

    • There are no comments yet...Kick things off by filling out the form below.

    Leave a Comment

    Cutline by Chris Pearson