PowerShell Windwos PowerShell의 Get-Content명령으로 Linux 명령 tail -f 를 모방하기 Windows에서 유닉스의 tail -f 명령과 같은 결과를 얻는 명령을 사용하고 싶다면 다음과 같이 Windows PowerShell 앱을 사용합니다. 유닉스의 tail -f 명령은 지정한 파일의 내용이 추가될 때... 2022.09.27 zinnunkebi 0 PowerShell
PowerShell “PowerShell에서 실행(관리자)” 메뉴를 마우스 오른쪽 버튼의 컨텍스트 메뉴에 표시하는 방법 다음 화면과 같이 마우스 오른쪽 버튼의 컨텍스트 메뉴에 표시되는 "PowerShell에서 실행"명령을 사용하여 확장자가 ps1인 PowerShell 스크립트 파일을 실행할 수 있습니다만 Windows 기본 설치 상태... 2022.09.26 zinnunkebi 0 PowerShell
PowerShell Windows Powershell 4.0과 5.1의 커맨드 비교(커맨드 타입 Function편) Windows PowerShell 5.1의 Get-Command -CommandType Function명령을 실행해서 나온 결과를 소개합니다. Windows Powershell 4.0과 5.1의 커맨드 비교 Wind... 2022.09.25 zinnunkebi 0 PowerShell
PowerShell Windows Powershell 4.0과 5.1의 커맨드 비교(커맨드 타입 Alias편) Windows PowerShell 5.1의 Get-Command -CommandType Alias 명령을 실행해서 표시된 Alias일람을 소개합니다. -> 기호 앞쪽이 Alias명이고 뒤쪽이 실제 cmdlet 명령입... 2022.09.24 zinnunkebi 0 PowerShell
PowerShell Windows Powershell 4.0과 5.1의 커맨드 비교(커맨드 타입 Cmdlet편) Windows PowerShell 5.1의 Get-Command -CommandType cmdlet 명령을 실행해서 나온 결과를 소개합니다. 각 명령의 대한 도움말은 help 명령으로 확인할 수 있습니다. 예)hel... 2022.09.24 zinnunkebi 0 PowerShell
워드프레스 (WordPress) 글에 포함된 반각 (‘)싱글 또는 (“)더블 쿼테이션을 브라우저 표시를 위해 전각 자동 변환 기능 끄기 WordPress "신규 글 작성"에서 입력된 반각 (')싱글 또는 (")더블 쿼테이션 문자를 브라우저에 표시 할 경우 WordPress 내부 처리에서 전각 문자로 변환합니다. 만약 글을 읽는 독자가 반각 (')싱글... 2022.09.23 zinnunkebi 0 워드프레스
PowerShell Windows PowerShell 예외처리 Try-Catch-Finally Try{ Exception Test }Catch{ Write-Host"에러가 발생했습니다." Write-Host $_ }Finally{ Write-Host"실행종료" } Try 블록에... 2022.09.23 zinnunkebi 0 PowerShell
PowerShell Windows PowerShell 조건문 PowerShell의 비교연산자 기호 대신 키워드를 사용합니다. -eq 같다는 의미로, ==의 용법과 동일합니다. -ne 다르다는 의미로, !=의 용법과 동일합니다. -lt 작다는 의미로, <의 용법과 동일합니다. ... 2022.09.23 zinnunkebi 0 PowerShell
PowerShell Windows PowerShell 배열 배열 선언 배열은 아래와 같은 방식으로 선언할 수 있습니다. #배열 array1에 값 1, 2, 3을 지정 $array1 = 1, 2, 3 #배열 array2에 4부터 6까지의 값을 지정 $array2 = 4..6 ... 2022.09.23 zinnunkebi 0 PowerShell
PowerShell Windows PowerShell 반복문 For문 0부터 1씩 증가하는 변수 i가 3과 같아지거나 커지면(-lt) 종료하는 반복문입니다. For($i=0; $i -it 3; $i++){ Write-Host $i } == 0 1 2 While문 0부터 1씩 ... 2022.09.23 zinnunkebi 0 PowerShell