Posted in
Hosting & IIS7,
Windows Powershell |
No Comment | 5,365 views | 16/12/2010 22:29
Powershell function to remove IIS7 websites.
Function Remove-WebSite
{
Param ($Description)
Remove-Item IIS:\Sites\$Description -Recurse
} |
Function Remove-WebSite
{
Param ($Description)
Remove-Item IIS:\Sites\$Description -Recurse
}
Description is the name of website in IIS7.