Posted in
Hosting & IIS7,
Windows Powershell |
No Comment | 8,716 views | 16/12/2010 22:30
Powershell function to remove IIS7 Application Pools.
1
2
3
4
5
6
| Function Remove-AppPool
{
Param ($AppPool)
Remove-Item IIS:\AppPools\$AppPool -Recurse
} |
Function Remove-AppPool
{
Param ($AppPool)
Remove-Item IIS:\AppPools\$AppPool -Recurse
}
AppPool is the name of the Application Pool.