Wednesday, October 7, 2015

Changes to Windows Azure PowerShell coming soon!

If you have worked with a recent version of Azure PowerShell, you may have noticed that they have changed the underlying commands to require Resource Management arguments so that many Azure PowerShell scripts no longer work!

If you are currently experiencing this problem with a recent version of Windows Azure PowerShell, you have 2 options:

  1. Use Switch-AzureMode to switch to the Service Management version of Azure PowerShell.
  2. Prefix your commands in the following manner: Azure\Get-AzureVM 
Well, with the upcoming release of Azure PowerShell, you will not even need to do that any longer since Switch-AzureMode is being deprecated!

Therefore, if you have existing older scripts which use Get-AzureVM, you can now use it directly instead of prefixing it with Azure\ or using Switch-AzureMode.

So, your new Azure PowerShell scripts will look something like this:

Get-AzureVM - Azure Service Management
Get-AzureRmVM - Azure Resource Manager

This new version of Azure PowerShell is expected to be released tomorrow on Oct. 8th!

1 comment:

  1. nice piece of information, I had come to know about your internet site from my friend vinay, delhi,i have read atleast 4 posts of yours by now, and let me tell you, your website gives the best and the most interesting information. This is just the kind of information that i had been looking for, i'm already your rss reader now and i would regularly watch out for the new post, once again hats off to you! Thanx a ton once again, Regards windows azure training in hyderabad