Hello,
I have an issue with some vms. When they are powered off, the cmdlet get-vmguest returns the ip address and the hosname for some vms but not for others. I have checked the Vmware Tools, they are all up to date. I mention again that the vms are powered off. How does the cmdlet gets all the information concerning a specific vm ?
Thanks.
That depends how long they have been powered off.
The information apparently is cached in the vCenter for a period of time.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hello.
Well, the vms are powered off for backup. so it's the same time being off for all the vms. Is there somewhere where we can initialize how long these information must be kept in cache on the vcenter or the host ?
Thanks.
Mind that my previous comment was based on my own observations of powered off guests.
There is no official statement about this that I know off.
And I definitely don't think there is a parameter with which to influence this apparent behaviour.
If someone has a real explanation based on facts I would be happy to hear it as well.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference