# Command line tips

Show all VMs:

`vboxmanage list -l vms`

Show the state of the VM:

`vboxmanage showvminfo w7new | grep State`

Control the state of the VM:

`vboxmanage controlvm w7new pause|resume|reset|poweroff|savestate|`  
`                           acpipowerbutton|acpisleepbutton`