Posts Tagged ‘Windows’
Connect to your Azure Subscription using Powershell
Today we will understand we can connect to our Azure Subscription using Powershell and run some basic command on it.
To connect to Azure subscription we need to download and install Azure Powershell. Copy paste below url on your browser and install the Web Platform Installer. This will give you option to download Azure Powershell.
http://go.microsoft.com/fwlink/p/?linkid=320376&clcid=0x409
Once the Powershell is downloaded and installed, we will
Now we will download the Azure Setting file to connect to the azure server. In the Azure Powershell, type below command.
Get-AzurePublishSettingsFile
Once you login to your Azure website, you will get a file named “Visual Studio Premium with MSDN-date-credentials.publishsettings”. Save it to a secure location. This file contains secure credentials and additional information about subscriptions that you can use in your development environment.
Now Import the Azure Settings file to Powershell. Run “Import-AzurePublisingSettingsFile” and then type path of the file we just downloaded as shown in below image
To check Subsctiption details run below command
Get-AzureSubscription