有没有办法使用Powershell从IIS绑定中仅获取协议类型?
The Web Server (IIS) Administration Cmdlets can help with this task:
Import-Module WebAdministration
Get-WebBinding
Results:
protocol bindingInformation
-------- ------------------
http *:80:
If you want just the protocol, you can use the following:
Get-WebBinding | Select protocol
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.