Is it necessary to be good at both azure power shell and azure cli?

prajay yalamanchili 41 Reputation points
2021-10-16T05:35:47.94+00:00

Currently I am going through a Module in microsoft learn where there are examples for both cli and powershell, It is stated that if You are familiar with powershell you can use azure powershell or if you are more into bash you can use azure cli,My question is do we need to be perfect at both cli and powershell or is it enough to be perfect at one ,personally I feel azure cli is easy to use.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,786 questions
{count} votes

Accepted answer
  1. Vaibhav Chaudhari 38,561 Reputation points
    2021-10-16T06:43:32.277+00:00

    Not necessary to be expert in both. Its your personal choice as you have quoted in the question that either use PowerShell or CLI.

    I personally like PowerShell and very much familiar to it so I always use PowerShell Azure commands


    Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. tbgangav-MSFT 10,381 Reputation points
    2021-10-18T17:22:34.363+00:00

    Hi @prajay yalamanchili ,

    To answer your first question, its not mandatory to be perfect in both CLI and PowerShell. As anonymous userChaudhari mentioned its your personal choice. To answer your question on 'why not cli', I believe it all depends on your past experience and your comfort levels with CLI vs PowerShell. For more information with regards to CLI vs PowerShell, you may refer this article.

    141466-image.png

    141397-image.png

    1 person found this answer helpful.
    0 comments No comments

  2. Srinivasan Ramamoorthi 6 Reputation points
    2021-10-16T07:21:08.56+00:00

    I will recommend to use Powershell