powershell script to find time difference between windows servers and DC

Job ID: 36148771

Budget: $10 – $30 AUD

got 5 member servers (windows ) and 1 DC.
need to write a powershell script to find time difference between 5*member servers and DC. if time difference is more than 1 second - it need to send an email notification and sync itself to DC
Related categories: Linux Shell Script Windows Server VMware Powershell