سؤال

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