Install AZURE modules

Modules:   

  • AzureRM.MarketplaceOrdering
  • AzureRM.profile


https://www.powershellgallery.com/packages/AzureRM.MarketplaceOrdering/0.2.0

As a Administrator

cd 'C:\Program Files\WindowsPowerShell\Modules\'


#to allow script to be run in Powershell

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-6&viewFallbackFrom=powershell-Microsoft.PowerShell.Core

Get-ExecutionPolicy -List

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser


>>> run the module:  Install-Module -Name AzureRM.MarketplaceOrdering

Get-ExecutionPolicy -List

Set-ExecutionPolicy Undefined -Scope CurrentUser