IIS 사이트 ipSecurity 아이피 추가/삭제 명령어
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..
운영체제
2020. 2. 26. 18:14
Powershell IIS binding 도메인 가져오기
12345678910Import-Module Webadministration foreach ($site in (Get-ChildItem -Path IIS:\Sites |Where-Object {$_.PhysicalPath -match 'www\\$'})) { write-host $site.Name foreach ($bindings in $site.Bindings.Collection) { foreach ($binding in $bindings) { write-host $binding.bindingInformation.Split(":")[2] } }}Colored by Color Scriptercs
운영체제
2017. 12. 5. 18:30
warpmemory
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
페이지
TAG
- apache
- Ansible
- engineering
- command
- error
- example
- configuration
- PowerShell
- 이슈처리
- mysql
- Python
- 코드
- httpd
- deview
- 번역
- code
- limits
- 외부링크
- client
- monitoring
- Web
- Linux
- File
- 명령어
- RESTful
- check
- Module
- Windows
- MariaDB
- 예제
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
글 보관함