Fix New-AzureVM issue.