PowerShell Logo Small

Remove-WebAppPool



This is the built-in help made by Microsoft for the command 'Remove-WebAppPool', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Removes an application pool from IIS.

SYNTAX


Remove-WebAppPool [-Name] <String> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Removes an application pool from IIS.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/p/?linkid=287882

REMARKS

<

Examples


-------------- EXAMPLE 1: Removing an Application Pool --------------

IIS:\>New-WebAppPool MyNewAppPool "Sleep for 5 seconds before AppPool gets removed"; Sleep 5 Remove-WebAppPool MyNewAppPool



This example demonstrates how to create a new application pool, and then removes it after waiting 5 seconds.