Issue: CommandNotFoundException Import-Module

Issue: you are unable to use the command "Import-Module" in Windows PowerShell and receive the following error:  FullyQualifiedErrorId : CommandNotFoundException Import-Module -Name AzureRM Import-Module : The specified module 'AzureRM' was not loaded because no valid module file was found in any module directory. At line:1 char:1 Solution: Confirm you have powershell 5.0 (Windows Management FrameWork Version 5) enter the following command into PowerShell: "$PSVersionTable.PSVersion" Also Read more [...]

AzureResourceManager.psd1 file is missing

Issue: the following command fails: Import-Module "C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ResourceManager\AzureResourceManager\AzureResourceManager.psd1" with error: "C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ResourceManager\AzureResourceManager\AzureResourceManager.psd1 file is missing" Solution: You may not have Azure PowerShell installed, check add/remove programs etc to see.  If you do not have Azure PowerShell installed, then install it. If you do have Read more [...]

How to Install Azure PowerShell (Oct 2016)

Installing and getting the Azure PowerShell modules working can be extremely frustrating.  Below I will attempt to streamline the process.  I created this process for Windows Server 2012 R2, however the same steps may work on other versions of Windows Server. Check your current version of PowerShell: Enter the following in PowerShell: $PSVersionTable.PSVersion check that you are on version 5 by looking at the 'major version' column. If you are not on PowerShell 5.0 then you need to install Read more [...]