Pergunta

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

Foi útil?

Solução

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

Import-Module WebAdministration
Get-WebBinding

Outras dicas

Try this:

Import-Module WebAdministration
$Websites = Get-ChildItem IIS:\Sites
$site = $websites
$site.bindings.Collection
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top