Get lastboouptime in EST time zone. This topic contains 3 replies, has 3 voices, and was last updated by Kishor Suvarna 9 months ago. Author Posts September 22, 2016 at 2:26 pm #54431 Kishor SuvarnaParticipant Hi, When I use Get-CimInstance to get lastbootuptime for a server I get the output in my laptop time zone, but I need it in EST, please help. September 22, 2016 at 2:28 pm #54433 Don JonesKeymaster You're also going to have to query the laptop's time zone and do the conversion math. September 22, 2016 at 2:35 pm #54434 Daniel KrebsModerator The following works on my machine: $os = Get-CimInstance -ClassName Win32_OperatingSystem -Property LastBootUpTime $timeZoneInfo = [System.TimeZoneInfo]::FindSystemTimeZoneById('Eastern Standard Time') [System.TimeZoneInfo]::ConvertTimeFromUtc($os.LastBootUpTime.ToUniversalTime(), $timeZoneInfo) September 22, 2016 at 3:03 pm #54437 Kishor SuvarnaParticipant Thank you Dan it works! Author Posts You must be logged in to reply to this topic.