by Guillermo Musumeci
2. Juni 2014 20:53
In CtxAdmTools, we use Azure everyday to host all our sites and now we are running all our test environment on it.
This is the first part of our Azure Guide. Enjoy!
Download and install PowerShell Module
We can download and install the Azure PowerShell module by running the Microsoft Web Platform Installer. When prompted, click Run. The Microsoft Web Platform Installer loads, with the Azure PowerShell module available for installation. The Web Platform Installer installs all dependencies for the Azure PowerShell cmdlets. We need to follow the prompts to complete the installation.
http://go.microsoft.com/fwlink/p/?linkid=320376&clcid=0x409
After we installed the Azure PowerShell module, we can start using Azure. An Azure subscription is required. If you don't have an Azure subscription, get one here:
http://azure.microsoft.com/en-us/pricing/free-trial
Connect with Azure
Import the Windows Azure PowerShell module:
Import-Module Azure
Add Azure license.
Add-AzureAccount
In the window, type the email address and password associated with your account.
The credentials are available to Azure PowerShell for 12 hours. After they expire, we will need to log in again.
Get current Azure account
Get-AzureAccount
Get Azure Subscription Information
Get-AzureSubscription
a861549a-fe83-46d3-85bb-32a1ccc05b9f|102|1.6|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
Azure