New-AzureRMVM doesn't have availabilitySetname as a parameter
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@varma31 Thanks for the feedback! We are currently investigating and will update you shortly.
@varma31 although it is not listed in this specific step it is stated in previous steps:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-availability-sets
In addition, the New-AzureRmVm command does allow for the -availabilitySetName parameter:
I will close this out but if you don't feel that I answered your question please let me know and we can reopen and continue.
Yep, the Availability Set isn't central to this doc so isn't detailed very much, but those parameters do exist. I believe they were introduced in Azure PowerShell 5.3.0, so check the version that you are running. The Azure Cloud Shell at shell.azure.com/powershell always has the latest version (currently 5.6.0), or you can find instructions on manually installing the latest version on your local computer here - https://docs.microsoft.com/powershell/azure/install-azurerm-ps