Get a VM's Network Addresses

MAC Address

vboxmanage showvminfo ${VM_UUID} | grep -E '^NIC [0-9]:'

IPv4 Address

Warning

I believe this requires the guest additions to be installed and operational

vboxmanage guestproperty enumerate ${VM_UUID} --patterns "*/Net/*/V4/IP"