我可以通过powershell在IIS IP和域限制列表中添加IP,但无法从其中删除IP。
示例:
/system.webserver/security/ipsecurity -Location“iis:\ -Value @{ipaddress=”192.168.1.1“;allowed=”true}
如何通过powershell从其中删除相同的ip?
发布于 2015-09-01 13:43:42
您可以指定allowed = false,从而有效地关闭这条规则。
add-WebConfiguration /system.webserver/security/ipsecurity -Locat "iis:\default web site" `
-Value @{ipaddress="192.168.1.1";allowed="false"}https://stackoverflow.com/questions/32331022
复制相似问题