increase size of OS disk of classic windows VM

Kamil Amireh 1 Reputation point
2020-05-26T19:37:50.233+00:00

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

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,255 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Manu Philip 16,991 Reputation points MVP
    2020-05-26T19:49:36.807+00:00

    Hello @Kamil Amireh ,

    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

    0 comments No comments