Install Azure PowerShell

Опубликовано: 22 Октябрь 2024
на канале: helpmecoder
9,551
97

Learn how to update your PowerShell version and then install Azure PowerShell cmdlets so you can start working with your Azure subscription.

We have looked into three approaches to install Azure PowerShell cmdlets, which are

PowerShell console
Microsoft Web Platform Installer (WebPI)
MSI file available from GitHub

Use the one that suits you best.
Then we have looked into various commands

Get-Executionpolicy
Set-ExecutionPolicy RemoteSigned
Install-Module AzureRM
Get-Module -ListAvailable
Get-Command -Module AzureRM
(Get-Command -Module AzureRM).Count
Add-AzureRmAccount
Get-AzureRMSubscription
Get-AzureRmVM