From 22053ef0b102c36a4627bd31372d65134839cafa Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Thu, 27 May 2021 15:38:21 +0300 Subject: [PATCH] Add install Az module section (#3466) * Add install Az module section * add Az module name --- docs/create-image-and-azure-resources.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/create-image-and-azure-resources.md b/docs/create-image-and-azure-resources.md index 36feb2a4753a..c2390a608de8 100644 --- a/docs/create-image-and-azure-resources.md +++ b/docs/create-image-and-azure-resources.md @@ -11,8 +11,8 @@ After successful image generation, a snapshot of the temporary VM will be conver - `OS` - Windows/Linux - `packer` - Can be downloaded from https://www.packer.io/downloads - `PowerShell 5.0 or higher` or `PSCore` for linux distributes. -- `Azure CLI ` - https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest -- `Azure Powershell module` - https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-4.6.1 +- `Azure CLI ` - https://docs.microsoft.com/en-us/cli/azure/install-azure-cli +- `Azure Az Powershell module` - https://docs.microsoft.com/en-us/powershell/azure/install-az-ps - `Git for Windows` - https://gitforwindows.org/ ### Azure DevOps self-hosted pool requirements @@ -33,6 +33,11 @@ Download `packer` from https://www.packer.io/downloads, or install it via Chocol choco install packer ``` +Install the Azure Az PowerShell module - https://docs.microsoft.com/en-us/powershell/azure/install-az-ps. +``` +Install-Module -Name Az -Repository PSGallery -Force +``` + Install Azure CLI - https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest&tabs=azure-cli. ``` Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; rm .\AzureCLI.msi