diff --git a/avm/utilities/pipelines/sharedScripts/Set-EnvironmentOnAgent.ps1 b/avm/utilities/pipelines/sharedScripts/Set-EnvironmentOnAgent.ps1 index bcfb7253ab..763d650eb0 100644 --- a/avm/utilities/pipelines/sharedScripts/Set-EnvironmentOnAgent.ps1 +++ b/avm/utilities/pipelines/sharedScripts/Set-EnvironmentOnAgent.ps1 @@ -258,21 +258,4 @@ function Set-EnvironmentOnAgent { } Write-Verbose ('Install-CustomModule end') -Verbose - - ##################################### - ## TEMP PowerShell installation ## - ##################################### - - # Update the list of packages - sudo apt-get update - # Install pre-requisite packages. - sudo apt-get install -y wget apt-transport-https software-properties-common - # Download the Microsoft repository GPG keys - wget -q "https://packages.microsoft.com/config/ubuntu/`$(lsb_release -rs)/packages-microsoft-prod.deb" - # Register the Microsoft repository GPG keys - sudo dpkg -i packages-microsoft-prod.deb - # Update the list of packages after we added packages.microsoft.com - sudo apt-get update - # Install PowerShell - sudo apt-get install -y powershell }