Where to put VBoxManage storageattach

Hi guys,
New to HA and honestly i’m feeling a bit dumb.
I’m installing HA on Vmware on windows. On the installation page Windows - Home Assistant is written to:

By default, VirtualBox does not free up unused disk space. To automatically shrink the vdi disk image the discard option must be enabled using your host machine’s terminal:

VBoxManage storageattach <VM name> --storagectl "SATA" --port 0 --device 0 --nonrotational on --discard on

But where do i have to type the command? If i put it on windows cmd nothing happens. I’m probably missing something. Can someone please help a noob?

Thank you so much

Hi

Are you mixing two things up here? You first say VMware then the commands you are trying to run are for virtualbox they are two different types of virtualisation software. The commands above won’t work on VMware, make sure you are following the right instructions.

Andy

Sorry, tipe wrong. I’m using VirtualBox, not vmware

https://byte-sized.de/windows/vboxmanage-virtualbox-per-cmd-oder-powershell-steuern/#english

The Baxxy13 solution didn’t work too… I decided to use Hyper-V and everything works. Thank you