Choosing between PowerShell and the Azure CLI
When we start to consider automating the deployment and management of resources in Azure, the first option would be using the command line, and here we then have two further options: PowerShell and the Azure CLI.
PowerShell and the CLI are very similar: they both run from a command prompt, they both allow access to the Azure platform, and the commands are also very similar.
Traditionally, PowerShell was only available on Windows computers; however, in recent years, PowerShell has been made available on macOS and Linux platforms. PowerShell has a much broader use than Azure and can be used on Windows platforms to manage and script many processes and Windows management functions.
PowerShell is also extensible: you can build functions, classes, scripts, and modules in a similar fashion to development languages. It is a separate module, called the Az PowerShell module, that enables Azure functionality.
Information Note
The current...