Azure CLI / PowerShell

Denis Cooper 26 Reputation points
2020-09-30T20:13:09.447+00:00

I've been going through some of the Azure training modules and I've noticed they are all using Azure CLI rather than PowerShell.

I was under the impression that using PS or the CLI were of personal choice, but the fact that all the modules I've done so far are using CLI im wondering if I should put more effort in using the CLI rather than PS im used to?

Community Center Not monitored
0 comments No comments
{count} votes

Accepted answer
  1. Leon Laude 86,026 Reputation points
    2020-09-30T20:29:20.913+00:00

    Hi @Denis Cooper ,

    Both Azure CLI and the PowerShell use the REST API of Azure, so basically you use whatever you like and you prefer.

    There are some pros for Azure CLI:

    • It is Open Source, which means it may be developing faster in the future, the community might get bigger, etc...
    • Azure CLI can be used with Groovy, Python, Ruby or any other scripting languages.

    As for Azure PowerShell, there is one big plus, it has a huge repository of PowerShell script examples for Azure and more, so you'll find a lot of examples there.

    In the end it really comes down to what you're familiar and comfortable with.

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,
    Leon

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Denis Cooper 26 Reputation points
    2020-09-30T21:01:42.403+00:00

    Great response and confirms my understanding. Im fairly confident with PowerShell, but always interested in learning new skills and scripting languages so will spend some more time with the cli I think.


  2. Daniela Becerra 1 Reputation point
    2021-03-04T03:59:30.397+00:00

    can we choose the tool that the tutorials are written with?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.