Intelligent context-aware command completion with Az Predictor
Artikel
Overview
Az Predictor is a PowerShell module that helps you navigate the cmdlets and
parameters of the Az PowerShell module. It provides intelligent context-aware
suggestions for command completion when using Azure PowerShell.
Az Predictor uses the subsystem plugin model available in PowerShell 7.2.
This updated version requires PSReadLine 2.2.2 or higher to display
suggestions.
You can switch between view modes with the F2 key.
Uninstallation
Once installed and enabled, Az Predictor is loaded in the PowerShell profile. To uninstall the
Az.Tools.Predictor module:
Close all PowerShell sessions, including VS Code.
Launch a PowerShell session with no profile.
PowerShell
pwsh -noprofile
Uninstall Az Predictor
PowerShell
Uninstall-Module -Name Az.Tools.Predictor -Force
Close PowerShell
Privacy and data collection
Privacy
Az predictor uses the previous two Az cmdlets to make suggestions and ignores any cmdlet that's not
part of the Az PowerShell module. Only the names of cmdlets and parameters are sent
to our API to obtain the suggestion. Parameter values are discarded. The resource group name and
location used are kept locally and reused with subsequent cmdlets for convenience but are never sent
to the API. In the preview version, the module generates and sends anonymized information about the
current session used for predictions to the API. This information is used to assess the quality of
suggestions.
Data collection
The current version of Az Predictor collects anonymized information about its usage to identify
common issues and improve the experience of future releases. Az Predictor doesn't collect any
private or personal data.
For example, the usage data helps identify inaccurate suggestions and issues like interferences with
PSReadLine. While we appreciate the insights this data provides, we understand not everyone wants to
send usage data. You can disable data collection with the
Disable-AzDataCollection cmdlet. You can also read our
privacy statement to learn more.
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.
Azure PowerShell maklum balas
Azure PowerShell ialah projek sumber terbuka. Pilih pautan untuk memberikan maklum balas:
This module explains the Azure PowerShell environment and the Az module for Windows PowerShell. It also explains how to manage Microsoft Entra ID by using PowerShell modules.
Manage data ingestion and preparation, model training and deployment, and machine learning solution monitoring with Python, Azure Machine Learning and MLflow.