Microsoft Azure: How to execute a synchronous Azure PowerShell cmdlet multiple times at once, using a single PowerShell session

  Overview Often times, Microsoft Azure customers have requirements to create multiple resources of the same type, and they wish to have these resources created as quickly as possible in a scripted solution. Many of the Azure PowerShell cmdlets are synchronous in nature, where the cmdlet will not return until provisioning is complete. Synchronous operations…


Configuring Azure Virtual Machines for Optimal Storage Performance

In support, one of the most common questions we get is: How do I achieve the best disk performance for Azure virtual machines? Platform Planning: In the standard tier of virtual machine in Azure, the maximum IOPS is 500 per disk. When planning for a high I/O virtual machine, you also need to take into…


Azure PowerShell 0.6.13

Azure PowerShell 0.6.13 released with substantial change to Support IaaS General Availability Download Link: PowerShell (Github) 2013.04.16 Version 0.6.13 Completely fixed issues with first website creation on a new account. Now you can use PowerShell with a new account directly without the need to go to the Azure portal. Added Get-AzureWebsiteLog -ListPath to get all…


Windows Azure PowerShell – Storage Commands

In this Blog we will walk through few PowerShell commands to work with Windows Azure Storage. (Last Update: 04/12/2013)  List of all Windows Azure Subscriptions – Find Default in case Multiple subscription Code Snippet: {Write-Host “Selection: Show Me List of Windows Azure Subscriptions” -ForegroundColor Magentasleep -seconds 1Get-AzureSubscription | select SubscriptionName, IsDefaultWrite-Host “Subscrption with Isdefault Value…


New blob storage cmdlets in Azure PowerShell 0.6.12

Azure PowerShell 0.6.12 released last week and includes new cmdlets to work with blobs in general, not just VHD files. To install, go to azure.com, click Downloads at the top, then click Windows Azure PowerShell under Command Line Tools at the bottom – or just click this link: http://go.microsoft.com/?linkid=9811175&clcid=0x409   2013.03.20 Version 0.6.12  * Windows…


How to quickly determine the Windows Azure PowerShell Version

How to quickly determine the Windows Azure PowerShell Version   The quickest method to determine which Windows Azure PowerShell version you are running is to enable Debugging and then run a Power Shell command.   To enable debugging you just need to set $DebugPreference as below:   $DebugPreference =’Continue’   Example: PS C:\Windows\System32\WindowsPowerShell\v1.0> $DebugPreference =’continue’…

5

Troubleshooting REST API based connectivity issues with Windows Azure Management Portal

Recently I worked on an issue where the customer was trying to create a Service Bus using Python code, however the creation of Service Bus was failing with the following error.                   “The server encountered an internal error. Please retry the request”   Because Python was using REST API and the communication was encrypted…


Windows Azure PowerShell – Script for basic PaaS and IaaS Operations

We assume that you have already set up your PowerShell for Windows Azure based on our previous Blog Post: Windows Azure PowerShell – Getting Started. In this blog we will be providing a Menu Based PowerShell Script to perform basic Cloud operation on Windows Azure. Before we dive into the details, stack of possible operation…


Windows Azure PowerShell – Getting Started

Introduction: As per command line tools, almost all operations that are performed on the Platform can be done using Rest API and PowerShell. Windows Azure PowerShell releases are very frequent. Download Page: http://www.windowsazure.com/en-us/downloads/?fb=en-us [Last Release: February 2013] Getting Started: Step1: Installation Download Windows Azure PowerShell from above link.   Select Windows Azure PowerShell click Add…