increase size of OS disk of classic windows VM

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

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.
4,552 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2020-05-26T19:49:36.807+00:00
    Manu Philip 14,026 Reputation points Microsoft MVP

    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

    No comments