expand vdisk

適用対象: Windows Server 2022、Windows Server 2019、Windows Server 2016、Windows Server 2012 R2、Windows Server 2012

仮想ハード ディスク (VHD) を指定されたサイズに拡張します。

この操作を成功させるには、VHD を選択してデタッチする必要があります。 select vdisk コマンドを使用して、ボリュームを選択し、それにフォーカスを移動します。

構文

expand vdisk maximum=<n>

パラメーター

パラメーター 説明
maximum=<n> VHD の新しいサイズをメガバイト (MB) 単位で指定します。

選択した VHD を 20 GB に拡張するには、次のように入力します。

expand vdisk maximum=20000