Is there any powershell script or any vbscript which can display all bindings of sites from IIS?

有帮助吗?

解决方案

Try the Get-WebBinding cmdlet (IIS 7 and up):

Import-Module WebAdministration
Get-WebBinding

其他提示

Try this:

Import-Module WebAdministration
$Websites = Get-ChildItem IIS:\Sites
$site = $websites
$site.bindings.Collection
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top