How to update a PowerShell module
If you have already installed the Az PowerShell module, you can update it to the latest version by using the Update-Module cmdlet.
To update the Az PowerShell module on Windows, macOS, or Linux, follow these steps:
- Open a PowerShell terminal.
- Run the following command to update the Az PowerShell module:
Code snippet
Update-Module -Name Az
- If you are prompted to trust the module, answer
YesorYes to All.
Once the Az PowerShell module is updated, you can start using it to manage your Azure resources. For more information, see the Az PowerShell documentation: https://docs.microsoft.com/en-us/powershell/scripting/.
No comments:
Post a Comment