Getting local time using powershell is very easy. You can get it with “Get-Date” cmdlet. But how do you get ti
$rtime = Get-WmiObject -Class Win32_OperatingSystem -ComputerName <yourCompName>
write-host $rtime.ConvertToDateTime($rtime.LocalDateTime)
Let me know if you figureout any other easy way.