#PowerShell, #Bash and #CLI, and the most common language now for how to manage #Azure are very helpful when you need to automate the tasks did you imagine that you can know provision new VM or new SQL on Azure using your mobile though azure mobile app with Powershell. 💥⛈

If you asked me what is the best? I will be told you nothing all of them are very powerful language and choosing which one of them depends on your past experiences If you are coming from background windows so the PowerShell is the most compatibles with you and if you are coming from Linux background Bash will be the most compatible with you.

Take Control of the Cloud with the Windows Azure PowerShell Cmdlets

How I prepare my local PC to be able to manage azure using theses language?

This is our post of today, all of us know that we have the availability to write PowerShell or Bach code from Azure portal itself😲 . But if we need to manage the portal from our PC, we need to install some tools and import some modules, at the end of the post you will find most of the tools and requirements and advanced tools you can use it on your local PC or on-Premises server to manage Azure.🦾

Note🚦: If you didn’t used Cloud shell before on Azure portal, when you start it portal will ask you to create Storage account for more information check this postStep by Step How to Enable Azure Cloud Shell in Microsoft Azure“🚀

Azure Cloud Shell

AS i explained above ⬆ How we can enable cloud shell on azure portal i need to share with you YouTube channel you can learn from it more information about how to use cloud shell

How to Enable Azure AZ module

  • Open PowerShell on your Local PC AS administrator
  • Install Az module using this first command
  • Check the Az module after installation using last two command
Install-Module -Name Az -AllowClobber -Force -Verbose
Get-InstalledModule -Name Az -AllVersions | select Name,Version
Get-Module -ListAvailable *Az*

Introducing the new Azure PowerShell Az module

Install Azure PowerShell

Enable Azure CLI on Windows PowerShell

  • Download and install MSI installer using this link (Install Azure CLI on Windows)
  • Open Windows PowerShell As Administrator and Write Az
  • If you need to enable the interactive mode only write Az interactive

Get started with Azure CLI

Azure CLI Interactive Mode

Enable Azure Module

  • Open Windows PowerShell As Administrator
  • Execute below two PowerShell Command
Install-Module Azure -AllowClobber -Force -Verbose
Import-Module Azure -Force -Verbose

Enable AzureRM Module

  • Open Windows PowerShell As Administrator
  • Execute below two PowerShell Command
  • Check the Module after installation using second command
Install-Module AzureRM -AllowClobber -force -Verbose
Get-Module -ListAvailable *Azure*

Check Azure Module Versions

Get-InstalledModule Azure -AllVersions | Select-Object Name,Version,Path
Get-InstalledModule AzureRM -AllVersions | Select-Object Name,Version,Path
Get-InstalledModule Az -AllVersions | Select-Object Name,Version,Path
Check Azure Module

Azure Support

In case if you have any issue on these steps you can contact me or leave your comment by your issue and i will do my best to support you otherwise you can communicate with Microsoft support team they are very supportive and they will fix to you all of your issues

Most used tools for Managing azure from on-Premises

Tool NameSite Link
Azure Portal
Azure account
.Net Framework 4.7
Windows Powershell
Azure Studio
Install Azure CLI
Install Azure PowerShell Module
Install AzCopy Command-Line Tool for Azure Storage
Install Azure Storage Emulator
Azure Storage Explore
Install PowerShell Module Manger 2020


It is very important now to know how to use these languages or at least one of them to be able to automate and custom your azure tasks from your azure portal, PC or even your mobile phone using an azure mobile application.

One thought on “How to manage Azure using Windows PowerShell

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.