[英]Protocol type from IIS binding using powershell
有没有办法使用Powershell从IIS绑定中仅获取协议类型?
The Web Server (IIS) Administration Cmdlets can help with this task: Web服务器(IIS)管理Cmdlet可以帮助完成此任务:
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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.