Aug 01, 2022 · Go to the Azure portal search for Virtual Machine; Select your virtual machine then click on Resize menu; Here you select the virtual machine size you want to resize your virtual machine too and then you click on Resize; Run Command. Go to Azure portal and search Virtual Machine; Then from the menu select Run Commands. .