I installed the AzureRm and Azure module on a Windows R2 R2 server. I can run other cmdlets from this module (for example, AddAzureRmAccount, Get-AzureRmSubscription), but Login-AzureRmAccount and Select-AzureRmSubscription throw an unrecognized error:
Login-AzureRmAccount : The term 'Login-AzureRmAccount' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + Login-AzureRmAccount + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Login-AzureRmAccount:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
I have already tried uninstalling, reinstalling and restarting the virtual machine.
What am I doing wrong here? If someone has decided this before, suggest a solution.
powershell azure-powershell
k2516
source share