Login-AzureRmAccount and Select-AzureRmSubscription

前端 未结 3 750
甜味超标
甜味超标 2021-01-21 20:33

I have installed AzureRm and Azure module on Windows server 2012 R2. I can run other cmdlets from this module (eg.AddAzureRmAccount, Get-AzureRmSubscription) but Login-AzureRmAc

3条回答
  •  猫巷女王i
    2021-01-21 20:57

    • Install Azure Powershell using latest version of Web Platform Installer.
    • You may need to restart your machine - so that the latest upgrades of powershell will come into effect.
    • Open Powershell or Powershell_ise and try executing the below command:

    Login-AzureRmAccount

    • A pop-up window comes up prompting your microsoft azure account credentials.

    Install-Module AzureRM -Scope CurrentUser

    • Also check your azure installed modules using the below command.

    Get-Module -List

    • You are done with setup. Go with your Azure powershell Scripting.

提交回复
热议问题