everything-powershell.com
PowerShell V7:- Get time skew of a machine - Everything-PowerShell
I used a script from Idera to check skew on machines and this script works perfectly when run in the current PowerShell window but it also works perfectly in