Skip to content

Instantly share code, notes, and snippets.

@felickz
Created April 14, 2021 15:21
Show Gist options
  • Save felickz/092560d826d5080f656a06f49fd96c31 to your computer and use it in GitHub Desktop.
Save felickz/092560d826d5080f656a06f49fd96c31 to your computer and use it in GitHub Desktop.
Powershell
$breakTimeMin = 10; 0..($breakTimeMin-1)|%{ Write-Progress -Activity "<Conference Name Goes Here>" -Status "next session begins in: $($breakTimeMin - $_) minutes" -PercentComplete ($_ / $breakTimeMin * 100); sleep 60; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment