Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Major changes to OS Drive expanding approach #4325
With the introduction of Managed Disks in Azure, the approach for disk resizing has changed. The way to expand Managed disk size is different from Unmanaged disks. What approach and PS code is shown in this docs article is only for expanding OS drive size for Unmanaged disks. I have added the PS approach and code for expanding OS drives size for Managed disks. I have tried to keep the flow and formatting intact as per the original, and have also added the relevant section on Data Disks pertaining to Managed disks too. There were some script errors in existing PS code and some missing Info, which I corrected.
Thanks for the contribution, @bahreex
This include is used primarily (exclusively?) in https://docs.microsoft.com/azure/virtual-machines/windows/expand-os-disk, which is owned by @kirpasingh
Kirpa - would you be able to review the proposed changes, and review the rest of the doc for any additional updates that could be made to support Managed Disks? Thanks.