You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Win-Debloat-Tools/lib/count-n-seconds-executable.ps1

8 lines
162 B
PowerShell

function CountNseconds {
param (
$Time = 3
)
$Time..0 | ForEach-Object {Start-Sleep -Seconds $_ ; "Closing in $_ seconds..."}
}
CountNseconds