Need to Decrese VM OS disk from 127 GB to 32 GB.

B Ramesh Kumar 6 Reputation points

Need to Decrese VM OS disk from 127 GB to 32 GB. Once change the OS disk size to 32 Gb , I need to take that vm as Image and use that customer image for my VDI backend .

Please provide ur suggestions.

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

2 answers

Sort by: Most helpful
  1. Leon Laude 85,726 Reputation points


    Something here might help:

    Shrink an Azure VMs OS Managed Disk using PowerShell

    How to shrink a managed disk

    Best regards,

    1 person found this answer helpful.
    0 comments No comments

  2. TechGuy_MS1 61 Reputation points

    Is the script safe and secure to run? Any theft or security concerns? Thanks.