Powershell cmdlet 중 하나인 Test-Connection 은 네트워크상의 Host와 ICMP 패킷을 이용하여 연결을 테스트 할 수 있다. 이 cmdlet은 흔히 cmd 에서 사용하는 ping.exe와 매우 유사하다. Test-Connection [-ComputerName] [[-Source] ] [-AsJob] [-Authentication {Default | None | Connect | Call | Packet | PacketIntegrity | PacketPrivacy | Unchanged}] [-BufferSize ] [-Count ] [-Credential ] [-Delay ] [-Impersonation…
Monthly Archives: 6월 2010
Powershell 에서의 정규 표현식 (Regular Expressions)
Regular Expression with Powershell
Powershell 논리, 비교 연산자 (Logical, Comparison Operators)
Powershell 의 논리 연산자, 비교 연산자는 보편적으로 많이 사용 되는 특수문자 (> , <, =, &, …) 들을 사용하지 않고 -[keyword] 형태로 사용 된다. 들어가기 전에 Powershell 에서 bool 값은 $true, $false 로 표현 할 수 있음을 숙지 하자 논리 연산자 bool 타입을 연산하여 bool 값을 반환함 -and : 논리곱 $true -and $true # True…
Powershell 개체(Object)와 파이프라인 (pipeline)
Powershell Object and Pipeline
Powershell 명령 (Command) – Cmdlet, Alias, Function, Application
About Powershell Command – Cmdlet, Alias, Function, Application
Powershell 단축키 (Shortcut Keys)
Powershell 을 좀더 깊히 들어가기전에 우선 환경을 익히는 작업을 하면 더욱 편하고 즐거운 시간이 된다. 물론 작업 속도도 빨라 지는 효과가 있겠다. Enter, Backspace, Home, End 좌 우 화살표 같은 상식적인 기능은 생략 함. History 관련 ↑ (화살표 위) or F5 : 이전에 입력 했던 명령 뒤로 탐색 ↓ (화살표 아래) or F8 : ↑…
Powershell 스크립트(Script) 생성과 실행
Write And Execute Powershell Script
Powershell 스크립트(Script) 실행을 위한 준비
For Run Powershell Script Setting (Change Execution policy)
Powershell .svn 디렉토리 삭제
Remove All Child .svn Directories with Powershell command.