Hello,
I have been asked to determine the source that each guest VM is getting their time from. Some VMs have the 'synchronize with host' tick box checked in VMtools, other machines are configured to get their times directly from our time servers.
Is there a script I can run in order to tell me what source each of our guests is using?
Thanks.
I moved this over to the automation section to see if anyone can help you with a script.
Thanks, much appreciated.
The next PowerCLI script will show you the status of the VMware Tools 'Synchronize guest time with host' tick box for all virtual machines and templates:
Get-View -ViewType VirtualMachine -Property Name,Config.Tools.SyncTimeWithHost | ` Select-Object -Property Name,@{N="SyncTimeWithHost";E={$_.Config.Tools.SyncTimeWithHost}}
Regards, Robert