Thanks Michael for your kind answer,<div><br></div><div>I've still a question regarding this functionality: let's say I restart a vm after a change to the NIC (from NAT to bridged) I'd expect to see the new IP address immediately, but instead there is a "latency". Is there a way to avoid this kind of cache?</div>
<div><br></div><div>Thanks,</div><div>Andrea  <br><br><div class="gmail_quote">On Mon, Dec 5, 2011 at 7:37 AM, Michael Thayer <span dir="ltr"><<a href="mailto:michael.thayer@oracle.com">michael.thayer@oracle.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello Andrea,<div><div class="h5"><br>
<br>
On 12/04/2011 10:27 PM, Andrea Turli wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm trying to use this command<br>
VBoxManage guestproperty  enumerate <vmname><br>
to retrieve the IP address of a machine.<br>
Even if the VM is shutdown I retreve the properties of the vm.<br>
Is there a way to flush the cache of this command?<br>
</blockquote></div></div>
I think this question belonged on <<a href="mailto:vbox-users-community@lists.sourceforge.net" target="_blank">vbox-users-community@lists.<u></u>sourceforge.net</a>> or the forums, not the developer list (follow-up there please!)  In any case, Guest Properties are not deleted when a virtual machine shuts down unless they are explicitly marked as "transient", which a quick look at the code suggests is not the case for the IP address (presumably so that people can query the last IP address an adapter in a machine was using before it was shut down).  So there is no cache to delete and this is intended behaviour (so that you don't have to worry about whether a machine is running or not to set or query its properties, and can "leave messages" for a machine which is currently shut down).<br>

<br>
Regards,<br>
<br>
Michael<span class="HOEnZb"><font color="#888888"><br>
-- <br>
ORACLE Deutschland B.V. & Co. KG   Michael Thayer<br>
Werkstrasse 24                     VirtualBox engineering<br>
71384 Weinstadt, Germany           mailto:<a href="mailto:michael.thayer@oracle.com" target="_blank">michael.thayer@oracle.<u></u>com</a><br>
<br>
Hauptverwaltung: Riesstr. 25, D-80992 München<br>
Registergericht: Amtsgericht München, HRA 95603<br>
<br>
Komplementärin: ORACLE Deutschland Verwaltung B.V.<br>
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande<br>
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697<br>
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven<br>
</font></span></blockquote></div><br></div>