New-Object System.Net.Sockets.TcpClient("1.1.1.1", 21) 파워쉘에서 FTP 포트 오픈 시에 1New-Object : Exception calling ".ctor" with "2" argument(s): "An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full cs 에러가 발생하였습니다. 1netstat -ancs netstat로 확인해보니, 무지하게 많은 포트가 TIME_WAIT 상태로 오픈되어있었고, 그로 인해서 더이상 포트를 열수 없는 상태였습니다.왜 이런 일이 발생했는지 조사해보니 윈도우즈 ..
12345678910111213141516Function Using-Culture ([System.Globalization.CultureInfo]$culture = (throw “USAGE: Using-Culture -Culture culture -Script {scriptblock}”),[ScriptBlock]$script= (throw “USAGE: Using-Culture -Culture culture -Script {scriptblock}”)){ $OldCulture = [System.Threading.Thread]::CurrentThread.CurrentCulture trap { [System.Threading.Thread]::CurrentThread.CurrentCulture = $OldCul..
123456789101112131415161718$homeDir = C:\home $items = New-Object System.Collections.ArrayList$items.Add($homeDir) $dirs = Get-ChildItem -Path $homeDir -Recurse | ?{ $_.PSIsContainer } | Select-Object FullNameforeach ($dir in $dirs) { $items.Add($dir.FullName)} $files = Get-ChildItem -Path $homeDir -Recurse | Select-Object DirectoryName,Name | where { $_.DirectoryName -ne $NULL }foreach ($file i..
- Total
- Today
- Yesterday
- Module
- mysql
- client
- Python
- configuration
- engineering
- MariaDB
- error
- deview
- apache
- httpd
- Linux
- 명령어
- Ansible
- limits
- 외부링크
- code
- example
- File
- command
- 이슈처리
- 코드
- check
- RESTful
- monitoring
- Windows
- 번역
- Web
- 예제
- PowerShell
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |