I have tried to verify whether my virtual machine in availability sets are working or not by using the command below:
Get-AzVMSize -ResourceGroupName RG3 -AvailabilitySetName availabilitysets
However, it appears this error :-
Get-AzVMSize is not recognized as an internal and external command.
Kindly please help. Thanks
CodePudding user response:
We have tried to Getvmsize using below steps:
Make sure to Connected with Azure using
For more information please refer this MICROSOFT DOCUMENTATION|Get-AzVMSize