From e5002c0d6c330b88a54a2208717eadda01c75282 Mon Sep 17 00:00:00 2001 From: "Christoph Bergmeister [MVP]" Date: Mon, 27 Apr 2020 10:40:52 +0100 Subject: [PATCH 1/2] Upgrade to Az 3.8 --- images/win/scripts/Installers/Install-AzureModules.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/win/scripts/Installers/Install-AzureModules.ps1 b/images/win/scripts/Installers/Install-AzureModules.ps1 index 5a67584a1..3f41a7743 100644 --- a/images/win/scripts/Installers/Install-AzureModules.ps1 +++ b/images/win/scripts/Installers/Install-AzureModules.ps1 @@ -39,6 +39,7 @@ $psAzureModulesToInstall = @{ "2.6.0" "3.1.0" "3.5.0" + "3.8.0" ) } @@ -65,4 +66,4 @@ foreach($psmoduleName in $psAzureModulesToInstall.Keys) # Add AzureRM and Azure modules to the PSModulePath $finalModulePath = '{0};{1};{2}' -f "${installPSModulePath}\azurerm_2.1.0", "${installPSModulePath}\azure_2.1.0", $env:PSModulePath -[Environment]::SetEnvironmentVariable("PSModulePath", $finalModulePath, "Machine") \ No newline at end of file +[Environment]::SetEnvironmentVariable("PSModulePath", $finalModulePath, "Machine") From 3df56601847b21a825d52376a0dde8276195210a Mon Sep 17 00:00:00 2001 From: "Christoph Bergmeister [MVP]" Date: Mon, 27 Apr 2020 12:38:45 +0100 Subject: [PATCH 2/2] Update Validate-AzureModules.ps1 --- images/win/scripts/Installers/Validate-AzureModules.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/win/scripts/Installers/Validate-AzureModules.ps1 b/images/win/scripts/Installers/Validate-AzureModules.ps1 index a7be9ef11..38c692b4d 100644 --- a/images/win/scripts/Installers/Validate-AzureModules.ps1 +++ b/images/win/scripts/Installers/Validate-AzureModules.ps1 @@ -80,7 +80,7 @@ Validate-AzureModule -ModuleName AzureRM -ModuleVersions $azurermVersions $azureVersions = "2.1.0", "3.8.0", "4.2.1", "5.1.1", "5.3.0" Validate-AzureModule -ModuleName Azure -ModuleVersions $azureVersions -$azVersions = "1.0.0", "1.6.0", "2.3.2", "2.6.0", "3.1.0", "3.5.0" +$azVersions = "1.0.0", "1.6.0", "2.3.2", "2.6.0", "3.1.0", "3.5.0", "3.8.0" Validate-AzureModule -ModuleName Az -ModuleVersions $azVersions # Get default modules version @@ -93,4 +93,4 @@ $env:PSModulePath = $env:PSModulePath + ";C:\Modules" # Adding description of the software to Markdown Add-ModuleDescription -DefaultModule $defaultAzureRMModule -ModuleName AzureRM Add-ModuleDescription -DefaultModule $defaultAzureModule -ModuleName Azure -Add-ModuleDescription -ModuleName Az \ No newline at end of file +Add-ModuleDescription -ModuleName Az