Sometimes you need to show something on your website in timeframe. This snippet will show you how to do it precisely:
How to use psexec to remotely update machines time (from domain)?
In my previous posts you can find info how to install psexec. When you’re already done with this process, you can start updating clock settings on remote machines.
psexec64 -s /user:domain\user -i \\remote_ip net time \\domain_controller /set /y
Bieżąca godzina na \\domain_controller to 2018-08-28 09:55:00.
At least in polish Windows 😀
psexec64 -s /user:domain\user -i \\remote_ip cmd /c time /t
And remember good IT specialist is lazy specialist! Do not go anywhere! Eat ya buritos.