expand vdisk
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Expands a virtual hard disk (VHD) to a specified size.
A VHD must be selected and detached for this operation to succeed. Use the select vdisk command to select a volume and shift the focus to it.
Syntax
expand vdisk maximum=<n>
Parameters
Parameter | Description |
---|---|
maximum=<n> |
Specifies the new size for the VHD in megabytes (MB). |
Examples
To expand the selected VHD to 20 GB, type:
expand vdisk maximum=20000
Related links
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor