Azure CLI supports Tab Completion on PowerShell
Published May 24 2023 07:00 PM 7,524 Views
Microsoft

We’re excited to announce that Azure CLI now supports tab completion on Windows PowerShell, a highly anticipated feature for many Windows users.

Untitled (1).gif

This new capability not only applies to commands and parameters but also extends to values such as account name and subscription name.

When typing in a command followed by a parameter, pressing the tab key will display a list of available options for that parameter. This saves users time and effort in remembering specific arguments or looking them up in documentation.

 

This enhanced feature is now available for CLI 2.49.0  and above

We are also pleased to announce that the performance of the completion has also improved dramatically in 2.49.0. The completion time is reduced by 80% to 90% for incomplete commands. Most completion can be finished in approximately 0.4 seconds on Linux.

We encourage you to install the latest version. For most of the commands, you can get the suggestion instantly, which makes for a smoother and more enjoyable experience.

auto-complete.png

 

Want to enable tab completion in PowerShell?

Sure! Create or edit the profile stored in the variable $PROFILE. The simplest way is to run notepad $PROFILE in PowerShell. For more information, see How to create your profile and Profiles and execution policy.

Please also refer to our public documentation Enable Tab Completion on PowerShell.

 

If you encounter any issues while using CLI or have suggestions on how we can make it even better, please do not hesitate to create an issue on GitHub.

 

Thank you!

Co-Authors
Version history
Last update:
‎May 25 2023 08:00 PM
Updated by: