locked
How to update Azure PowerShell RRS feed

  • Question

  • User488517736 posted

    I have Azure PowerShell 1.0.3 installed via the Gallery (per the instructions here in the Installing Azure PowerShell From The Gallery section). I want to update to the latest version but am unclear on the commands that I need to run. I tried the following, but decided to ask rather than potentially corrupt my installation:

    PS C:\Windows\system32> Install-Module AzureRM
    
    You are installing the module(s) from an untrusted repository. If you trust this repository, change its
    InstallationPolicy value by running the Set-PSRepository cmdlet.
    Are you sure you want to install software from 'https://www.powershellgallery.com/api/v2/'?
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): y
    WARNING: Version '1.0.3' of module 'AzureRM' is already installed at 'C:\Program
    Files\WindowsPowerShell\Modules\AzureRM\1.0.3'. To delete version '1.0.3' and install version '1.1.0', run
    Install-Module, and add the -Force parameter.

    Can someone provide a script to update Azure PowerShell?

    Tuesday, February 9, 2016 6:04 AM

Answers