The script is available for download from https://gallery.technet.microsoft.com//How-to-set-the-System-Time-5821a816. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This script shows how to set the system time zone in Windows using PowerShell DSC.Sometimes, IT admin may want to change the time zone on many computers if some new computers are not displaying the correct time zone. This script can help admins to leverage PowerShell DSC feature for management purpose.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery