标签: powershell iis configuration
我需要更改网站maxurlsegments,这是高级设置中的参数 - >限制 - >最大的url段,使用powershell继续自动部署Web服务器。
答案 0 :(得分:1)
将默认网站的值设置为33的示例:
import-module WebAdministration Set-ItemProperty -Path 'IIS:\Sites\Default Web Site' -Name limits.maxUrlSegments -Value 33