mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 05:07:02 +00:00
[Windows 19 & 22] Remove AzureRM and Azure powershell modules from windows images (#11548)
* remove azure poswershell modules * Update helper scripts
This commit is contained in:
committed by
GitHub
parent
a88fc4db06
commit
f0e516bc43
@@ -235,14 +235,6 @@ $psTools.AddToolVersion("PowerShell", $(Get-PowershellCoreVersion))
|
||||
$psModules = $psTools.AddHeader("Powershell Modules")
|
||||
$psModules.AddNodes($(Get-PowerShellModules))
|
||||
|
||||
$azPsNotes = @'
|
||||
Azure PowerShell module 2.1.0 and AzureRM PowerShell module 2.1.0 are installed
|
||||
and are available via 'Get-Module -ListAvailable'.
|
||||
All other versions are saved but not installed.
|
||||
'@
|
||||
if (-not (Test-IsWin25)) {
|
||||
$psModules.AddNote($azPsNotes)
|
||||
}
|
||||
|
||||
# Android
|
||||
$android = $installedSoftware.AddHeader("Android")
|
||||
|
||||
Reference in New Issue
Block a user