question

KamilAmireh-1238 avatar image
0 Votes"
KamilAmireh-1238 asked ·

increase size of OS disk of classic windows VM

I need to increase size of OS disk of classic windows VM? so my question about Classic Not ARM

azure-virtual-machines
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ManuPhilip avatar image
0 Votes"
ManuPhilip answered ·

Hello @KamilAmireh-1238,

Please try the following cmdlet and see if it helps

 Update-AzureDisk -DiskName [Disk-Name] -Label [DiskLabel]-ResizedSizeInGB 1020

If the step is success, you can see the unused space (expanded size) from disk manager of the VM



Please mark as "Accept the answer" if the above steps helps you. Others with similar issues can also follow the solution as per your suggestion

Regards,

Manu

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.