Retrieve vmId of Virtual Machine