How to install Azure Az PowerShell module on a computer to manage Azure resources from windows 10/11 PowerShell

Azure Az PowerShell module commands are used to manage Azure cloud resources from a PowerShell which helps to automate the deployment of complex cloud-based IT infrastructure solutions using ARM templates and scripts to save time and effort along with to avoid any errors in case of any missed configuration step while deployment however it takes time to initially develop these customized scripts and templates based on the requirement as per company’s IT policy. GitHub a development platform which provides ready-made scripts and templates related to Azure uploaded by other solutions architects and developers who already created and deployed Cloud-based IT infrastructures solutions on azure.

Step 01: Open PowerShell on your system and run as administrator and execute the below command.

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

The Execution policy for windows power shell prevents malicious scripts to run on your computer and it works as a security and safety feature that controls the condition based on which scripts are running and configuration files are loading. To learn more on Power Shell Execution policies please follow this link

Step 02: Run the below command to install the Azure power shell module

Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force

Auto installation and completion process of Azure PowerShell module after running the Install-Module command

%d bloggers like this: