1) Windows에서 설치
iex “& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI”
2) Linux에서 설치
wget -O – https://aka.ms/install-powershell.sh | sudo bash
3) 설치된 PowerShell 버전 확인하기
$psversiontable
4) Windows에서는 PowerShell Desktop version과 PowerShell Core 버전을 Switch하면서 사용 가능하다
powershell.exe
pwsh.exe
** Linux에서 PowerShell Core를 사용하면 그냥 pwsh만 입력하면 된다
5) PowerShell core에서 Azure 운영을 위한 Module 설치하기
Get-Module -ListAvailable
Get-Command | Measure-Object
Find-Module -Name az
Find-Module -Name az | Install-Module -AllowClobber
Get-Module -ListAvailable
Get-Command | Measure-Object