Files
runner-images/images/win/scripts/Installers/Install-AzureCli.ps1
Maxim Lobanov 0f6fba462a Move CLI tests to the separate test file on Windows (#1363)
* move cli tests to the separate file

* switch install scripts

* unify CLI names
2020-08-06 11:27:58 +03:00

13 lines
604 B
PowerShell

################################################################################
## File: Install-AzureCli.ps1
## Desc: Install Azure CLI
################################################################################
Choco-Install -PackageName azure-cli
$AzureCliExtensionPath = Join-Path $Env:CommonProgramFiles 'AzureCliExtensionDirectory'
New-Item -ItemType "directory" -Path $AzureCliExtensionPath
[Environment]::SetEnvironmentVariable("AZURE_EXTENSION_DIR", $AzureCliExtensionPath, [System.EnvironmentVariableTarget]::Machine)
Invoke-PesterTests -TestFile "CLI.Tools" -TestName "Azure CLI"