RosettaCodeData/Task/Sleep/PowerShell/sleep.ps1

5 lines
100 B
PowerShell
Raw Permalink Normal View History

2026-04-30 12:34:36 -04:00
$d = [int] (Read-Host Duration in seconds)
Write-Host Sleeping ...
Start-Sleep $d
Write-Host Awake!