【发布时间】:2020-05-20 11:34:21
【问题描述】:
我正在尝试使用 PowerShell 将功能委托设置为读/写。在默认安装 IIS 8.5 的服务器上:
$property = @{
Filter = "/system.webServer/security/authentication/windowsAuthentication"
Force = $true
PSPath = "IIS:/"
Value = "Allow"
Metadata = "OverrideMode"
}
Set-WebConfiguration @property
命令运行,但设置未更改。如果我导航到 IIS > 管理 > 功能委派,Windows 身份验证仍显示“只读”,不是“读/写”
我在这里错过了什么?
【问题讨论】:
标签: powershell iis