Get the Local Time for your VMHost

Hi Folks ,

Quick one liner to get the local time of your vmhost . Its good to check to make sure that your host is not out of sync because your VM’s depend on it.

get-vmhost -Name (FQDN of Host ) | % {Get-View $_.ExtensionData.ConfigManager.DateTimeSystem} | %{$_.QueryDateTime().ToLocalTime()}

Happy New Year 🙂

Chris

Advertisements