Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要更新 Azure CLI,但我意识到我在 2019 年安装了 Azure CLI,此后再也没有更新过。我这是一台 Windows 10 机器。当我尝试卸载时,通过转到“应用程序和功能”并卸载 Microsoft Azure CLI,我看到以下内容:
截屏
错误:单击确定重试,或在下面的框中输入包含安装包“azure-cli-2.0.75 (1).msi”的文件夹的备用路径。
然而,挑战在于我无法在任何地方找到该特定版本的 msi。如果有人能指出我正确的方向,我将不胜感激:)
您可以使用以下命令卸载 azure cli
Remove-Module -Name Az -ErrorAction SilentlyContinue Uninstall-Module -Name Az -AllVersions
使用这个,它将在静默模式下自动卸载。