VMware Cloud Community
AmoghMaheshvip
Enthusiast
Enthusiast

get-stat timestamp difference

I dont know why there is difference in timestamp shown in UI and timestamp in get-stat of a ESXi server.

In the attached figure, you can see the current time is today's date: 2018/06/19

but when i get get-stat in powercli window.

i get

MetricId                Timestamp                          Value Unit

--------                ---------                          ----- ----

mem.usage.average       6/20/2018 9:09:20 AM                   0 %

mem.usage.average       6/20/2018 9:09:00 AM                   0 %

mem.usage.average       6/20/2018 9:08:40 AM                0.99 %

mem.usage.average       6/20/2018 9:08:20 AM                0.99 %

the timestamp shown is tomorrow's...

Is there anything which i have to change.

0 Kudos
1 Reply
LucD
Leadership
Leadership

There seesm to be a difference between the regional settings in your OS and the culture settings in PowerShell.

What does this return?

Does it correspond with the regional settings in the OS?

Get-Culture


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos