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:
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!
If you are currently experiencing this problem with a recent version of Windows Azure PowerShell, you have 2 options:
- Use Switch-AzureMode to switch to the Service Management version of Azure PowerShell.
- Prefix your commands in the following manner: Azure\Get-AzureVM
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!
No comments:
Post a Comment