Ted*_*Ted 3 iis-7 iis-7.5 appcmd
在 IIS7 中,是否可以将 appcmd list sites 命令的结果过滤为例如在端口 443 上运行的所有站点?
例如:
/appcmd list sites /bindings:http://216.123.123.123:443:*wildcard
Run Code Online (Sandbox Code Playgroud)
事实上,我只能过滤确切的绑定,例如:
/appcmd list sites /bindings:http://216.123.123.123:443:some.hostheader.com
Run Code Online (Sandbox Code Playgroud)
不在 AppCmd 中,但为什么不通过管道将其导入 FINDSTR,例如:
appcmd 列出站点 | findstr /spin hostheader.com
或 appcmd 列出站点 | findstr /自旋 216.123.123.123:443
归档时间: |
|
查看次数: |
7403 次 |
最近记录: |