Morning! welcome to and thanks for checking it out. Today, I’ll try to explain basic Powershell Azure commands for initial steps.

First of all, please be sure you already have installed Windows PowerShell. Just in case it’s not installed, please use the following useful link

Install the Azure PowerShell module

By default, the PowerShell gallery isn’t configured as a trusted repository for PowerShellGet. The first time you use the PSGallery you see the following prompt:

Answer Yes or Yes to All to continue with the installation.

The AzureRM module is a rollup module for the Azure PowerShell cmdlets. Installing it downloads all of the available Azure Resource Manager modules, and makes their cmdlets available for use.

Sign in

To start working with Azure PowerShell, you need to load AzureRM into your current PowerShell session with the Import-Module cmdlet, and then sign in with your Azure credentials.

Update the Azure PowerShell module

You can update your Azure PowerShell installation by running Update-Module. .

This command does not uninstall earlier versions


The Get-AzureAccount cmdlet gets the Azure accounts that are available to Windows PowerShell. To make your accounts available to Windows PowerShell, use the Add-AzureAccount or Import-PublishSettingsFile cmdlets.

Gets Azure accounts that are available to Azure PowerShell.


Sharing is caring!

Leave a comment

Your email address will not be published.