Hey all,
i have several ESX hosts in different location worldwid, and im writing a powercli script that is supposed to
Retrieve both the current time on the ESX (Adjusted by the timezone) and the UTC time (the universal time).
I can retrieve the current time by this:
$connect = Connect-VIServer $ESXServer -User $ESXUser -Password $ESXPassword
"Time" + "#" + $connect.ExtensionData.ServerClock
but i couldn't find any general view or Powershell variable that contains the UTC time.
I need both for monitoring reasons.
Any idea?
Thanks..