O'Reilly logo

Windows PowerShell™ Scripting Guide by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a New Application Pool

If you have a significant number of application pools to create on your new Web server, you'll probably want to create them using a script. This is usually true in spite of the fact that the Add Application Pool dialog box, displayed in Figure 15-6, is easy to fill out. As important as application pools are, they are very easy to create with a script; follow the instructions to see how simple it is to create the CreateApplicationPool.ps1 script.

Creating new application pools requires only a minimal amount of typing.

Figure 15-6. Creating new application pools requires only a minimal amount of typing.

Begin the CreateApplicationPool.ps1 script with the param statement. For this script, you'll ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required