AzureCli

2.3.2

Cmdlet and alias to make the use of Azure CLI a bit more PowerShell friendly. Process output of Azure CLI from JSON to custom objects.

Installation Options

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

Install-Module -Name AzureCli -RequiredVersion 2.3.2

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name AzureCli -Version 2.3.2

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

Owners

Copyright

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

Package Details

Author(s)

  • Daniël te Winkel

Tags

az cli Azure

Functions

Invoke-AzCli

Dependencies

This module has no dependencies.

Release Notes

2.3.2

- Fixed issues with argument completion on -Subscription and -ResourceGroup.

2.3.1

- Fixed issue with loading the module on case-sensitive file-systems.

2.3.0

- Added MIT license.
- Process 'bicep upgrade' as raw command.
- Rewrote / restructured tests. Use Module name in mocks where applicable.
- Wrote better tests to test argument completers.
- Escape subscription name in calling az in resource argument completer.

2.2.0

- Improved security by supporting SecureString as input for Azure CLI parameter. The SecureString value will be passed
 on as plain text to Azure CLI, but will be printed as ******** on the Invoke-AzCli verbose output.
- Added -EscapeHandling parameter to set automatic escaping of strings on the command-line to Azure CLI. Set to Always
 to escape \ and " with the \ escape character. Do not set it, or set it to None, to not escape. This is the default
 behavior.
- Allow to set global CliVerbosity preference through the $AzCliVerbosityPreference variable.
- Deprecated -SuppressCliWarnings in favor of -CliVerbosity NoWarnings. Use of -SuppressCliWarnings will give a
 deprecation warning.
- Argument completers for -Subscription and -ResourceGroup provide a better description for each completion result.
- Documentation updates and fixes.

2.1.0

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

2.0.0

- 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.

1.3.0

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

1.2.0

- 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 install Auzure CLI from if az command is not found.

1.1.0

- 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.

1.0.2

- Fixed restoring color output in some error scenarios.

1.0.1

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

1.0.0

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

FileList

Version History

Version Downloads Last updated
2.5.0 6,106 12/2/2022
2.4.0 578 8/27/2022
2.3.2 (current version) 2,270 11/10/2021
2.3.1 27 11/9/2021
2.3.0 48 11/7/2021
2.2.0 4,147 4/28/2021
2.1.0 417 4/11/2021
2.0.0 679 11/29/2020
1.3.0 101 10/15/2020
1.2.0 16 10/14/2020
1.1.0 105 8/2/2020
Show more