Building an IIS website in PowerShell

14 May 2017

powershell

A tiny script to create a local website in IIS just so I could test out a set of static html pages to make sure they were correct before checking them in. Creates a named app pool then creates the website (and deletes existing app pool and website if they already exist).

Finally, I fire up a browser window to see what the index page looks like.

If you liked this post you can tweet it or follow me on Twitter!