Skip to content

Commit

Permalink
restrict Az to updating only Az modules
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoung012 committed Jun 6, 2019
1 parent 7610d38 commit 44f430a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Update-AutomationAzureModulesForAccount.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ function Create-ModuleImportMapOrder([bool] $AzModuleOnly) {
?{
($AzModuleOnly -and ($_.Name -eq 'Az' -or $_.Name -like 'Az.*')) -or
(!$AzModuleOnly -and ($_.Name -eq 'AzureRM' -or $_.Name -like 'AzureRM.*')) -or
($_.Name -eq 'Azure' -or $_.Name -like 'Azure.*')
(!$AzModuleOnly -and ($_.Name -eq 'Azure' -or $_.Name -like 'Azure.*'))
}

# Get the latest version of the AzureRM.Profile OR Az.Accounts module
Expand Down

0 comments on commit 44f430a

Please sign in to comment.