Skip to content

Instantly share code, notes, and snippets.

@JohnL4
Created February 9, 2022 16:37
Show Gist options
  • Save JohnL4/20e5bf39c8bc01da3238e5cc1ac4749c to your computer and use it in GitHub Desktop.
Save JohnL4/20e5bf39c8bc01da3238e5cc1ac4749c to your computer and use it in GitHub Desktop.
Check for clock drift on various machines (could affect JWT token validity)
foreach ($mach in @($env:COMPUTERNAME,"p8sismnweb03s","p8sismnbld01s","p8cstweb01d","p8cstweb01p")) {
Write-Host -fore cyan $mach
icm $mach {get-date}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment