更新时间:2023-12-01 20:31:46
我需要同样的东西,并且可以正常工作:
I needed the same and this is working:
Remove-WebConfigurationProperty /system.webServer/security/ipSecurity -location "iis:\default web site" -Name "." -AtElement @{ipAddress="192.168.1.1";allowed="true"} -PSPath IIS:\