Install PowerShell Module

There is the commande for installing the PowerShell module on your computer:

#
# EXECUTE THIS IN POWERSHELL WITH "RUN AS ADMINISTRATOR" OPTION
#

# AUTHORIZE REMOTE SIGNED COMMAND
Set-ExecutionPolicy RemoteSigned

# IMPORT THE POWERSHELLGET MODULE
Import-Module PowerShellGet

# INSTALL THE AZURE MODULE
Install-Module Azure -Force -AllowClobber
Install-Module AzureRM -Force -AllowClobber

# UPDATE THE POWER SHELL HELP
Update-Help

 

Advertisements