Add custom Virtual Machine icons to VirtualBox

Solution 1:

You can easily change the VM icon in the VirtualBox CLI by doing this command:

VBoxManage modifyvm  "VM Name" --iconfile D:\icon.png