When you create a PowerShell script for Azure, typically, you type the needed cmdlet and then, how to know which parameters you have to insert? You must go to the Microsoft Document or use the Get-Help cmdlet.
Thanks to the Az Predictor PowerShell module, it’s over! You will have something close to “AI” (e.g Artificial Intelligence) that will help you and will show you some suggestions.
Installation
First, you must install PowerShell 7.2.0 Preview 3 at least.
Then, run the following commands:
Install-Module -Name PSReadLine -AllowPrerelease
Install-module -name Az.Tools.Predictor
Now, you can enable the module
Enable-AzPredictor -AllSession
When you enable Az Predictor, your PowerShell profile will be updated
Move the right arrow of your keyboard to select the line
To switch from argument to argument, click ATL+A on your keyboard
Now, you can enable the second mode called ListView which give you more suggestions
Move the right arrow of your keyboard to select a line
Thanks for reading! You can follow me on Twitter @PrigentNico