Is there any powershell script or any vbscript which can display all bindings of sites from IIS?
Asked
Active
Viewed 3,846 times
2 Answers
0
Try the Get-WebBinding
cmdlet (IIS 7 and up):
Import-Module WebAdministration
Get-WebBinding

Shay Levy
- 121,444
- 32
- 184
- 206
0
Try this:
Import-Module WebAdministration
$Websites = Get-ChildItem IIS:\Sites
$site = $websites
$site.bindings.Collection

user952342
- 2,602
- 7
- 34
- 54