This PowerShell script sample shows how to change the Internet Time Synchronization interval.
Windows includes internet time synchronization scheduler to synchronize your clock automatically. But the default synchronization interval for this process is one week. There is no way to change this interval through the user interface. It has to be done using the registry editor. So this script sample can easily help user to do it.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery