Azure Management Cmdlets

What’s Azure Management Cmdlets:

Azure Management Cmdlets is a set of Windows PowerShell Cmdlets for complete Azure management. It consists of 80 cmdlets to manage your Azure Storage (Tables, Blobs and Queues), Hosted Services (Deployment, Storage Services, Affinity Groups and Guest OS), and Diagnostics. It also includes cmdlets to back up your storage account data (tables & blobs) on your local computer and restore storage account data from the backups. It supports full, partial and incremental backups.

Following is the list of cmdlets available in the current version:

Tables & Entities

Blob Containers & Blobs

Service Management

Add-Entity

Clear-Table

Download-Table

Get-Entities

Get-Entity

Get-Tables

Merge-Entity

New-Table

Remove-AllTables

Remove-Entity

Remove-Table

Update-Entity

Copy-Blob

Download-Blob

Download-BlobContainer

Get-BlobContainerAccessPolicies Get-BlobContainerInformation

Get-BlobContainerMetadata

Get-BlobContainers

Get-BlobContainerSize

Get-BlobProperties

Get-Blobs

Get-BlobSnapshots

Get-BlobStorageSize

Lease-Blob

Move-Blob

New-BlobContainer

New-RootBlobContainer

Remove-AllBlobContainers

Remove-Blob

Remove-BlobContainer

Remove-RootBlobContainer

Rename-Blob

Set-BlobContainerAccessPolicies

Set-BlobContainerMetadata

Set-BlobProperties

Snapshot-Blob

Upload-Blob

Upload-Folder

Get-AffinityGroups

Get-HostedServices

Get-OperationStatus

Get-OSVersions

Get-StorageServices

Get-Deployment

Move-Deployment

New-Deployment

Remove-Deployment

Set-DeploymentConfiguration

Set-DeploymentStatus

Set-WalkUpgradeDomain

Upgrade-Deployment

Get-Certificates

Get-HostedServiceProperties

Get-StorageKeys

Get-StorageServiceProperties

New-StorageKeys

Get-AffinityGroup

Add-Certificate

Get-Certificate

Remove-Certificate

Queues & Messages

Diagnostics Management

Backup & Restore

Clear-Messages

Clear-QueueMetadata

Get-ApproximateMessagesCount

Get-Messages

Get-QueueProperties

Get-Queues

New-Message

New-Queue

Peek-Messages

Remove-AllQueues

Remove-Message

Remove-Queue

Set-QueueMetadata

Clear-AzureEventLogs

Clear-AzureInfrastructureLogs

Clear-AzurePerfCounters

Clear-AzureTraceLogs

Backup-StorageAccount

Restore-StorageAccount

More cmdlets will be added in subsequent versions.

Why you should use Azure Management Cmdlets:

There are many reasons for you to use Azure Management Cmdlets. You could use these cmdlets to automate certain tasks of managing Windows Azure (like service deployments etc.). You could also use these cmdlets to access your storage with ease. As mentioned above, it includes functionality for backing up and restoring your Azure Storage account. You can also use it to backup contents of your local disk (files & folders) in Windows Azure Blob storage.

What do you need to use Azure Management Cmdlets:

Azure Management Cmdlets are built using .Net 4.0. You would need a computer with .Net 4.0 installed. Since these are PowerShell cmdlets, you would need to have PowerShell installed on your computer as well. Other than that you would need access to Windows Azure Storage (Storage Account Name & Key) and Windows Azure Hosted Services (Subscription Id & API Certificates). If you’re using these cmdlets to access local development storage, then you would need to have Azure SDK installed on the computer.

You can visit cerebrata’s (One of the Microsoft partners) website to learn more about it @ https://www.cerebrata.com/Products/AzureManagementCmdlets.

Happy Azuring !!