- Remove copied AzPowershell utilities - Add latest AZ module path already on hosted agents to PSModulePath - Rename setup-az-modules template setup-environments to reflect what is is doing - Add support for Caching the current user PS Module folder - Add support for install-module if not already present in module folder - Organize the live test clean-up script to be in the standard location Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
8 lines
225 B
PowerShell
8 lines
225 B
PowerShell
[CmdletBinding()]
|
|
param (
|
|
[string]$AzModuleVersion = "5.7.0" # Current version cached on agents
|
|
)
|
|
|
|
. (Join-Path $PSScriptRoot Helpers PSModule-Helpers.ps1)
|
|
|
|
Install-ModuleIfNotInstalled "Az" $AzModuleVersion | Import-Module |