Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Switch to the Azure AzureRM PowerShell module
if(Get-Module -Name Az*){
Remove-Module -Name Az*
Import-Module -Name AzureRM -Force}
# Switch to the Azure AZ PowerShell module (
if(Get-Module -Name AzureRM*){
Remove-Module -Name AzureRM*
Import-Module -Name Az -Force}
Recommend to update to version 1.4.0 of the Az PowerShell Module
The Az PowerShell Module is available from here
... or run: Install-Module -Name Az -RequiredVersion 1.4.0 -AllowClobber
Run Get-InstalledModule to check installed modules
Run $PSEdition to check for version of PowerShell
Migration instructions Azure.RM to Az -
More information on Installing PowerShell Core 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.