Windows 参数对于netsh http delete sslcert中的hostnameport无效

Windows 参数对于netsh http delete sslcert中的hostnameport无效,windows,powershell,netsh,Windows,Powershell,Netsh,我正在尝试在PowerShell中运行以下命令: 命令- netsh http delete sslcert hostnameport="services.localtest.me:443" 结果- 'hostnameport' is not a valid argument for this command. The syntax supplied for this command is not valid. Check help for the correct syntax. 我得到一个

我正在尝试在PowerShell中运行以下命令:

命令-

netsh http delete sslcert hostnameport="services.localtest.me:443"
结果-

'hostnameport' is not a valid argument for this command.
The syntax supplied for this command is not valid. Check help for the correct syntax.
我得到一个错误,指出hostnameport不是一个有效的参数,但是它作为一个社区添加被记录在上。此外,如果您查看一些来自Microsoft的GitHub回购协议,您将看到它正在被使用,例如在中


此参数是否仅在特定版本的Windows上有效?是否仅在Windows Server上可用?我可以在Windows功能中启用某些功能使此参数生效吗?

当运行
netsh http delete sslcert
时会发生什么。它应该打印带有示例的帮助。如果您认为这是版本问题,那么您使用的是什么版本的Windows?请阅读文档
netshhttpaddsslcert
支持
hostnameport
参数
netsh-http-delete-sslcert
没有。比较
netsh http add sslcert?
netsh http delete sslcert?
。以下是输出:参数:标记值ipport-将删除SSL证书绑定的IPv4或IPv6地址和端口。我使用的是Windows 7 SP1,但我安装了Windows管理框架5.0。@BaconBits什么是“文档”?我看不到任何东西支持您的评论。@BaconBits它在某些环境中受支持,至少在2012 R2上是:“用法:删除sslcert ipport=|主机名端口=| ccs=”