简体   繁体   中英

Display all bindings of site from IIS

是否有任何Powershell脚本或vbscript可以显示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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM