Choose between Azure CLI and Azure PowerShell

There is a misconception that Azure PowerShell works only on Windows and Azure CLI works everywhere. This is not true. PowerShell (not Windows PowerShell) is based on .NET Core which is cross platform. We can run PowerShell on Windows as well as on Linux. Both Azure PowerShell and Azure CLI runs on Windows and Linux.

Which option you will choose depends on your personal preference and from what background you are coming. If you are already working on PowerShell then Azure PowerShell should be your choice but if you are more like a person who works with for example Bash, then Azure CLI will be a good option for you. Also sometimes people find Azure CLI commands are more easy to type and remember.

This is a personal preference.

1 thought on “Choose between Azure CLI and Azure PowerShell

  1. Arnab Roy Chowdhury Post author

    One another point I would like to mention here is, I find Azure CLI is very easy to quickly create resources on Azure because it’s syntax is easy to type easy to remember. But if I need to create an automation script then Azure PowerShell is easy to me because I am a .NET programmer and I find PowerShell is a natural fit there.

    Like

    Reply

Leave a Reply

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

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Connecting to %s