Is there a way to check in VC if the VMs have enabled the timesync option in VMware tools?
Sure, this one-liner gives the name of the VM and if the TimeSync is true or false
Get-VM | Get-View | %{Write-Host $_.Name $_.Config.Tools.syncTimeWithHost}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks!
How woudl you change this to only retrieve the "False" entries?
Get-VM | Get-View | ? { $_.Config.Tools.syncTimeWithHost -eq $false }
Author of the upcoming book: Managing VMware Infrastructure with PowerShell
Co-Host, PowerScripting Podcast (http://powerscripting.net)