concept web application in category powershell

appears as: web applications, web application, web application
PowerShell in Practice

This is an excerpt from Manning's book PowerShell in Practice.

Websites are further explored, together with their associated application pools. We’ll also consider web application and virtual directories. The full lifecycle of these objects will be shown to provide the complete administration toolset.

The alternative to creating multiple websites on our server is to create a web application. This is similar to creating a website, in that we need to define where the files used in the site will reside. We don’t need to worry about things such as the site bindings, because our web application lives inside a website.

Listing 13.15. Creating a web application
Listing 13.17. Remove a web application
Remove-WebVirtualDirectory –Site testprov –Application processes –Name services Remove-WebApplication –Site testprov –Name processes