Skip to content

Instantly share code, notes, and snippets.

@JimMoyle
Created February 20, 2024 11:11
Show Gist options
  • Save JimMoyle/25ab396418e0a15ad6aeaf1a928c488a to your computer and use it in GitHub Desktop.
Save JimMoyle/25ab396418e0a15ad6aeaf1a928c488a to your computer and use it in GitHub Desktop.
PowerShell Stopwatch
$stopwatch = [system.diagnostics.stopwatch]::StartNew()
while ($true) { $stopwatch.Elapsed.ToString().SubString(0, 8); Start-Sleep 1; Clear-Host}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment