프로그래밍/DevOps

애저 파워쉘 설치

편리스머프 2022. 4. 20. 11:20

애저 클라우드를 터미널에서 사용할 수 있는 애저 파워쉘 설치

https://docs.microsoft.com/ko-kr/powershell/azure/install-az-ps?view=azps-0.10.0 

 

Install the Azure Az PowerShell module

How to install the Azure Az PowerShell with PowerShellGet

docs.microsoft.com

 

****

 

기존 파워쉘에서 버전을 확인해보자.

$PSVersionTable.PSVersion

 

****

 

최신버전으로 설치해보자.

Install-Module -Name Az -AllowClobber -Scope AllUsers

 

****

 

터미널에서 애저 로그인할 수 있다.

# Connect to Azure with an interactive dialog for sign-in
Connect-AzAccount

실행하면 로그인 창이 뜬다.

터미널에서 로그인 됨.

 

 

반응형