From the course: Deploying ASP.NET Applications

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Automate IIS install with PowerShell

Automate IIS install with PowerShell

From the course: Deploying ASP.NET Applications

Start my 1-month free trial

Automate IIS install with PowerShell

- [Narrator] Manual Installation, it's very useful when you do one off, but most of the times, you will have to repeat the same task over and over again. And manual tasks in that situation are actually error prone. So one way to avoid that is to automate and the best tools for automation are actually scripts. To install in an automated manner, to install IIS we have two options. The first one, is to use PowerShell and the second one is to use PowerShell DSC. First, let's look how do we work with PowerShell. To edit or run PowerShell files, we need to start a tool called PowerShell ISE. So PowerShell ISE, it is available on all the windows installations. We have it here on the window severity even on the Start screen, we right click on it and we choose more and run as an administrator. And the reason for that is because we want to enable windows features. So we do this and then we opened enable IIS features file. You will find this file in the exercise folders as well for this course…

Contents