August 16, 2005

118 words 1 min read

Managing IIS 6.0 From CLI

For anyone that works with IIS, and needs to build some automation — there is help! I did some searching and I came up with a few useful commands (amazingly from MS itself). First is “HOW TO: Manage Web Sites and Web Virtual Directories by Using Command-Line Scripts in IIS 6.0” — This is great if you have to create applications from directories based on ASP.NET, etc. Second is “Starting and Stopping Websites (IIS 6.0)” — I like this because it allows me stop the default website and start the “maintenance site” I have in just a few seconds. Better to have a page saying “We’re working on it” than the old “this page cannot be displayed” error.