I try to write a (Windows cmd) script to acpi shutdown (acpipowerbutton) VirtualBox Linux guests (Ubuntu and Linux MINT). What I learned already is, with a lock
acpipowerbutton