Jump to content
Sign in to follow this  
  • entries
    142
  • comments
    0
  • views
    79742

Connect powershell to Azure

proximagr

1046 views

First we need to install the Azure PowerShell module from http://go.microsoft.com/fwlink/p/?linkid=320376&clcid=0x409

 

Then open PowerShell and follow the below commands:

 

#Get your subscription file - The browser will open, you will need to login to the Azure Subscription and finally it will download the <subscriptonname>.publishsettings file
Get-AzurePublishSettingsFile

 

#Connect to your Subscription
Import-AzurePublishSettingsFile -PublishSettingsFile "full path to downloaded file"
Source: http://www.e-apostolidis.gr/microsoft/connect-powershell-to-azure/



0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...