Search notes:

PowerShell cmdLet Start-Sleep

The PowerShell cmdlet start-sleep does nothing for a given amount of time.
It can be called with specifying seconds as an integer32 (-s, -seconds) or with specifying -milliSecond (as a double).
start-sleep -s           1
start-sleep -seconds     2
start-sleep -milliSecond 432.1
sleep is an alias for start-sleep.

Interrupting sleep with ctrl-c

start-sleep n can be interrupted, while sleeping, with ctrl-c. If the sleep should be uninterrauptable, the method Sleep() of the .NET class System.Threading.Thread class can be used:
PS C:> [System.Threading.Thread]::Sleep(10 * 1000) # Sleep 10 seconds

See also

Powershell command noun: sleep

Index