카테고리 글은 최신 순으로 표시됩니다. 과거의 글은 [PowerShell] 전체 목록에서 찾는 게 빠릅니다.
![](https://tech.zinnunkebi.com/wp-content/uploads/2022/01/powershell-640x360.png)
Windows PowerShell 창에서 cmd를 실행하여 DOS명령 프롬프트 사용하기
Windows PowerShell 창에서 cmd.exe 또는 cmd 명령을 실행하여 DOS 명령어를 간편하게 사용하는 방법을 알아보세요. Windows10 최신 버전 및 Windows Server 2019 이후 버전에서의 명령 프롬프트 실행 방법을 소개합니다.
![](https://tech.zinnunkebi.com/wp-content/uploads/2022/10/windows2022-icon-640x360.png)
[Windows Server 2022] Powershell 명령 또는 “역할 및 기능 추가” 마법사를 이용하여 [Active Directory 도메인 서비스] 추가와 [도메인 컨트롤러]를 구축하기
이 글에서는 "역할 및 기능 추가" PowerShell 명령 또는 마법사 화면을 이용하여 추가하고 를 구축하는 방법을 소개합니다. PowerShell 명령으로 "역할 및 기능 추가" 실행하기 Winodws Power...
![](https://tech.zinnunkebi.com/wp-content/uploads/2022/10/windows2022-icon-640x360.png)
[Windows Server 2022] Powershell 명령 또는 설정화면에서 서버명(컴퓨터명) 변경하기
Windows Server 2022에서 기능을 사용하려면 의미를 가진 서버명(컴퓨터명)으로 변경하는게 좋습니다. 이 글에서는 서버명(컴퓨터명)을 변경하는 3가지 방법을 소개합니다. 참고로 이 글에 화면 또는 설명에 ...
![](https://tech.zinnunkebi.com/wp-content/uploads/2022/01/powershell-640x360.png)
Windwos PowerShell의 Get-Content명령으로 Linux 명령 tail -f 를 모방하기
Windows에서 유닉스의 tail -f 명령과 같은 결과를 얻는 명령을 사용하고 싶다면 다음과 같이 Windows PowerShell 앱을 사용합니다. 유닉스의 tail -f 명령은 지정한 파일의 내용이 추가될 때...
![](https://tech.zinnunkebi.com/wp-content/uploads/2022/01/powershell-640x360.png)
“PowerShell에서 실행(관리자)” 메뉴를 마우스 오른쪽 버튼의 컨텍스트 메뉴에 표시하는 방법
다음 화면과 같이 마우스 오른쪽 버튼의 컨텍스트 메뉴에 표시되는 "PowerShell에서 실행"명령을 사용하여 확장자가 ps1인 PowerShell 스크립트 파일을 실행할 수 있습니다만 Windows 기본 설치 상태...
![](https://tech.zinnunkebi.com/wp-content/uploads/2022/01/powershell-640x360.png)
Windows Powershell 4.0과 5.1의 커맨드 비교(커맨드 타입 Function편)
Windows PowerShell 5.1의 Get-Command -CommandType Function명령을 실행해서 나온 결과를 소개합니다. Windows Powershell 4.0과 5.1의 커맨드 비교 Wind...
![](https://tech.zinnunkebi.com/wp-content/uploads/2022/01/powershell-640x360.png)
Windows Powershell 4.0과 5.1의 커맨드 비교(커맨드 타입 Alias편)
Windows PowerShell 5.1의 Get-Command -CommandType Alias 명령을 실행해서 표시된 Alias일람을 소개합니다. -> 기호 앞쪽이 Alias명이고 뒤쪽이 실제 cmdlet 명령입...
![](https://tech.zinnunkebi.com/wp-content/uploads/2022/01/powershell-640x360.png)
Windows Powershell 4.0과 5.1의 커맨드 비교(커맨드 타입 Cmdlet편)
Windows PowerShell 5.1의 Get-Command -CommandType cmdlet 명령을 실행해서 나온 결과를 소개합니다. 각 명령의 대한 도움말은 help 명령으로 확인할 수 있습니다. 예)hel...
![](https://tech.zinnunkebi.com/wp-content/uploads/2022/01/powershell-640x360.png)
Windows PowerShell 예외처리
Try-Catch-Finally Try{ Exception Test }Catch{ Write-Host"에러가 발생했습니다." Write-Host $_ }Finally{ Write-Host"실행종료" } Try 블록에...
![](https://tech.zinnunkebi.com/wp-content/uploads/2022/01/powershell-640x360.png)
Windows PowerShell 조건문
PowerShell의 비교연산자 기호 대신 키워드를 사용합니다. -eq 같다는 의미로, ==의 용법과 동일합니다. -ne 다르다는 의미로, !=의 용법과 동일합니다. -lt 작다는 의미로, <의 용법과 동일합니다. ...