Get IP of guest vm in virtualbox

VBoxManage guestproperty get “vmname” “/VirtualBox/GuestInfo/Net/0/V4/IP” | awk ‘{ print $2 }’