From 31d8e4e4d839a6249a6ae29e994fefbe13922ccb Mon Sep 17 00:00:00 2001 From: kishorekumar-anchala <168699259+kishorekumar-anchala@users.noreply.github.com> Date: Mon, 14 Apr 2025 14:03:26 +0000 Subject: [PATCH] Testing Az new module installation script (#11972) --- images/windows/scripts/build/Install-PowershellAzModules.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/images/windows/scripts/build/Install-PowershellAzModules.ps1 b/images/windows/scripts/build/Install-PowershellAzModules.ps1 index 88da09b53..2143fe111 100644 --- a/images/windows/scripts/build/Install-PowershellAzModules.ps1 +++ b/images/windows/scripts/build/Install-PowershellAzModules.ps1 @@ -23,6 +23,7 @@ foreach ($module in $modules) { foreach ($version in $module.versions) { $modulePath = Join-Path -Path $installPSModulePath -ChildPath "${moduleName}_${version}" Write-Host " - $version [$modulePath]" + $psModuleMachinePath += "$modulePath;" Save-Module -Path $modulePath -Name $moduleName -RequiredVersion $version -Force -ErrorAction Stop }