Azure, Microsoft

Azure PowerShell

Summary

Its no surprise Azure fully supports PowerShell. Enable your device to run Azure PowerShell.

Deploy

To run Azure PowerShell, run below code:

if ($PSVersionTable.PSEdition -eq 'Desktop' -and (Get-Module -Name AzureRM -ListAvailable)) {
    Write-Warning -Message ('Az module not installed. Having both the AzureRM and ' +
      'Az modules installed at the same time is not supported.')
} else {
    Install-Module -Name Az -AllowClobber -Scope AllUsers
}
# Connect to Azure with a browser sign in token
Connect-AzAccount

Source: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-5.2.0

Leave a Reply

Your email address will not be published. Required fields are marked *

Close Bitnami banner
Bitnami