Until today February 7th, 2011 morning, if you had tried to compile the Windows Azure Cmdlets with Windows Azure SDK 1.3 you must have encountered that compilation is not successful. Further investigation related to compilation failure reveled the following problem:

 

The Windows Azure Cmdlets project AzureManagementTools.Cmdlets contains a reference to Microsoft.WindowsAzure.StorageClient.dll which still has dependency on Windows SDK 1.2 based Microsoft.WindowsAzure.StorageClient.dll (Version 1.0.0.0) and because in Windows Azure SDK 1.3 this Microsoft.WindowsAzure.StorageClient.dll (Version=1.1.0.0) is updated which cause this compilation problem.

 

Here is a VERY GOOD NEWS.

 

Windows Azure team just updated Windows Azure Cmddlets to be compiled with Windows Azure SDK 1.3. The updated cmdlets project is located at the same place as below:

 

http://code.msdn.microsoft.com/azurecmdlets/

 

 Here are a few examples of using Windows Azure Cmdlets:

 

List All Services in your subscription:

 

PS C:\Windows\system32> Get-HostedServices

-subscriptionId 1a2a122c-111-11a1-b111-a0b1c4d3aecf

-certificate (get-item cert:\CurrentUser\MY\A77B40E35556DFDB09C3B246453A548B2D7B9444)

 

Get information about one specific Services

PS C:\Windows\system32> Get-HostedService

-serviceName avkash13test

-subscriptionId 1a2a122c-111-11a1-b111-a0b1c4d3aecf

-certificate (get-item cert:\CurrentUser\MY\A77B40E35556DFDB09C3B246453A548B2D7B9444)

 

Upload a Windows Azure Application package using Power Shell Script

 

PS C:\azure\cmdlet> New-Deployment

-serviceName thisisatest

-subscriptionId 1a2a122c-111-11a1-b111-a0b1c4d3aecf

-certificate (get-item cert:\CurrentUser\MY\A77B40E35556DFDB09C3B246453A548B2D7B9444)

-slot staging

-package WindowsAzureCompanion.cspkg

-configuration ServiceConfiguration.cscfg

-label "v1"

-StorageServicename azurehd

 

SubscriptionId                Certificate                   ServiceName                   OperationId

--------------                -----------                   -----------                   -----------

1a2a122c-111-11a1-b111-e1... [Subject]...                  thisisatest                   6bd1f891c8a84f898faee82f5d...