使用Power Shell从Exchange Server检索的日期和时间值的时区问题

问题描述:


大家好,

Hello folks,


我需要你的帮助因为我是MS Exchange和Power Shell技术的新手。

I need your help as I'm pretty new in MS Exchange and Power Shell technologies.


所以这是我的问题......

So here is my question...


我怎样才能返回使用Exchange Power Shell控制台远程校准下面以UTC格式列出的日期和时间值(远程服务器可能位于不同的时区):

How can I retrieve Date and Time values listed below in UTC using Exchange Power Shell console remotely (the remote server might be in different time zone):



  •    上次成功同步  (Get-ActiveSyncDeviceStatistics cmdlet)

  •    上次检查的日志时间  (Get-MailboxDatabaseCopyStatus cmdlet)

  •    Last Account Stat Date  (Get-MailboxDatabase cmdlet)

  •    上次登录时间,  Last
    Modified
     (Get-MailBox cmdlet)
  •   Last Successful Sync (Get-ActiveSyncDeviceStatistics cmdlet)
  •   Last Inspected Log Time (Get-MailboxDatabaseCopyStatus cmdlet)
  •   Last Account Stat Date (Get-MailboxDatabase cmdlet)
  •   Last Logon TimeLast Modified (Get-MailBox cmdlet)


请提供与时区处理相关的正确Power Shell查询部分。 

Please provide correct Power Shell query part related to timezone's handling. 


提前致谢!

Thanks in advance!

怎么样: 

What about: 

Get-MailboxDatabaseCopyStatus | Select-Object DatabaseName,@ {Name =" LastInspectedLogTime&quot ;; Expression = {(

Get-MailboxDatabaseCopyStatus | Select-Object DatabaseName, @{Name="LastInspectedLogTime";Expression={(


_。LastInspectedLogTime.ToUniversalTime())}}
_.LastInspectedLogTime.ToUniversalTime())}}

这可以解答我的问题???

Can It be the answer to my question???