Posted in
Hosting & IIS7,
Windows Powershell |
No Comment | 4,530 views | 16/12/2010 22:07
Powershell function to removing bindings from websites in IIS7.
1
2
3
4
5
6
| Function Remove-Binding
{
Param ($Description, $Binding)
Remove-WebBinding -Name $Description -BindingInformation *:80:$Binding
} |
Function Remove-Binding
{
Param ($Description, $Binding)
Remove-WebBinding -Name $Description -BindingInformation *:80:$Binding
}
Description is the name of website in IIS7.