The command you must run is in the help text that you published. Use Install-Module -Force AzureRM . See the -Force tag .
Once you update the bootloader, run Install-AzureRM to install the new packages.
Change update (WMF> 4) PowerShell:
PowerShell has an Update-Module AzureRM function that will perform similar activities as Install-Module -Force AzureRM . You can also use the -AllowClobber argument in Install-Module if you have functions already defined in your local environment that AzureRM will overwrite.
However, none of them will update the current environment, so before running Install-AzureRM verify that you have downloaded the latest AzureRM module. For example, if you want to upgrade from 1.0.1 to 1.0.3:
$ Get-Module AzureRM ModuleType Version Name ExportedCommands ---------- ------- ---- ---------------- Script 1.0.1 AzureRM {...} $ Update-Module AzureRM $
Or you can simply open a new PowerShell window after starting the update.
source share