VMware VMDK Disk Expansion, if you have just installed VMware Workstation on your computer, this software has a built-in command that can be executed in the installation directory for expansion.#
Preface
I downloaded a pre-built OpenWrt system online, but the default virtual disk does not meet my needs, so I looked for a way to expand it.
# First, enter the VMware Workstation installation directory in CMD, then execute the command
vmware-vdiskmanager.exe -x 4Gb "G:\Downloads\Esxi For OpenWrt 6.1.69_iPv4_efi\Esxi OpenWrt 6.1.69_iPv4_efi\OpenWrt 6.1.69_iPv4_efi.vmdk"
Parameter Introduction
-x is the size you want to expand to.
The parameter in the double quotes is the path to your current virtual disk.