[英]Assign IIS SSL Certificate to Binding with Host Header using PowerShell
[英]Protocol type from IIS binding using powershell
有沒有辦法使用Powershell從IIS綁定中僅獲取協議類型?
Web服務器(IIS)管理Cmdlet可以幫助完成此任務:
Import-Module WebAdministration
Get-WebBinding
結果:
protocol bindingInformation
-------- ------------------
http *:80:
如果只需要該協議,則可以使用以下命令:
Get-WebBinding | Select protocol
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.