Cmdlet and alias to make invoking of Azure CLI a bit more PowerShell style. Process output of Azure CLI JSON to custom object.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name AzureCli -RequiredVersion 2.1.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Daniël te Winkel


Copyright © 2021, Daniël te Winkel. All rights reserved.

Package Details



powershell az cli azure




This module has no dependencies.

Release Notes


- Added argument -CliVerbosity to set verbosity of Azure CLI. This provides a single parameter to either set --only-show-errors, --verbose, or --debug.


- Added argument completion for Subscription parameter.
- Added ResourceGroup parameter, because the --resource-group parameter is needed so often. Supports argument completion.
- Added NoEnumerate and AsHashtable to have more control over the JSON to output conversion.
- Added parameter sets, to make clear which parameters can be used together. This may break existing scripts that use parameters together that are not allowed together anymore.
- Improved test coverage.


- Improved error handling. Now throws on error.
- Improved locality of restoring color output. Only restore it if we process the az cli output.


- Improved passing of parameters to az command line, preventing interpretation of parameters by PowerShell.
- Support more text output or interactive commands:
 - interactive.
 - feedback.
 - version.
 - upgrade.
- provide message where to istall az CLI from if az command is not found.


- Support raw output for a number of specific command groups and parameters:
 - Support --version.
 - Support find.
 - Support help.
- Better handle raw output for --output, -o, help and a number of other parameters.


- Fixed restoring color output in some error scenarios.


- Don't change directory to module path on invocation.
- Improve source project documentation.


- Initial version of this module providing Invoke-AzCli and alias iaz.


Version History

Version Downloads Last updated
2.4.0 153 8/27/2022
2.3.2 2,251 11/10/2021
2.3.1 18 11/9/2021
2.3.0 25 11/7/2021
2.2.0 1,994 4/28/2021
2.1.0 (current version) 93 4/11/2021
2.0.0 663 11/29/2020
1.3.0 91 10/15/2020
1.2.0 7 10/14/2020
1.1.0 90 8/2/2020
Show less