Forum Discussion
Differences between AZ and Azure CLI PowerShell modules
Hi,
As we all have the following PS modules:
How to install Azure PowerShell
Anybody have experiences the differences between these two? I have a feeling that they do not have the same features.
There is also some published article by Microsoft:
3 Replies
- dcaro
Microsoft
Petri-X both tools allow users to manage Azure resources from a command line interface or a script. They are both cross platform (ie: you can use them on Windows, Linux or Mac).
Azure PowerShell is a series of modules that are built for PowerShell and caries all the characteristics of a PowerShell module. If you are familiar with PowerShell or .NET, you may find yourself more at ease with Azure PowerShell.
Azure cli is a command line tool that is built to be supported cross-shell and caries the characteristics of a Linux command line. If you are a Linux or Mac user and familiar with shell commands, you may find yourself more at ease with Azure cli.
Both tools are maintained, supported and have very similar coverage. Our fundamental principle is to meet our customers where they are and provide the tool that fits their needs the best.
- dcaro
Microsoft
Petri-X being supported by Azure CLI and Azure PowerShell is a criterion for a service to reach General Availability. It is always possible that you find differences for certain specific scenarios mostly for services that have been around for a while, but we have commands in both tools (az rest and Invoke-AzRestMethod) to help address the situation until with fix the gaps.
If there is a feature missing, you can submit an issue on GitHub, our teams are looking at it every day:
- Azure CLI: https://github.com/Azure/azure-cli
- Azure PowerShell: https://github.com/Azure/azure-powershell