운영체제
                
              IIS 사이트 ipSecurity 아이피 추가/삭제 명령어
                warpmemory
                 2020. 2. 26. 18:14
              
              
                            
        | 1 2 3 4 | import-module WebAdministration C:\Windows\System32\inetsrv\appcmd.exe clear config "Default Web Site" -section:system.webServer/security/ipSecurity /"[ipAddress='0.0.0.0',subnetMask='0',allowed='False']" /commit:apphost  C:\Windows\System32\inetsrv\appcmd.exe set config "Default Web Site" -section:system.webServer/security/ipSecurity /+"[ipAddress='허용아이피',allowed='true']" /commit:apphost  C:\Windows\System32\inetsrv\appcmd.exe set config "Default Web Site" -section:system.webServer/security/ipSecurity /+"[ipAddress='0.0.0.0',subnetMask='0',allowed='False']" /commit:apphost  | cs |