Prepare PowerShell for Azure

Steps to install AzureRM Module

This information is outdated. Please refer to the link below for the latest information.

https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-2.6.0#code-try-2

1. Use TLS1.2 (Elevated privileges)

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

2. Install AZ (Elevated privileges)

PS C:\Windows\system32> Install-Module Az

Note: How to login to Azure

PS C:\Windows\system32> Connect-AzAccount

Leave a Reply

Your email address will not be published. Required fields are marked *