Forum Discussion
nareshunik86
Oct 30, 2020Copper Contributor
Get date,time and timezone
I am looking for a script to get date,time, timezone from multiple remote servers (3000) using power shell. Please help me to get script.
farismalaeb
Oct 31, 2020Iron Contributor
Hi
Try to make a look on WMI
this is the powershell query to get the date and time from remote computer
Get-WmiObject -ComputerName REMOTE_COMPUTER -Query 'select * from Win32_CurrentTime where __CLASS ="Win32_LocalTime"'For the timezone, you can use TZUTIL