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

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1740465042, '13.59.35.247', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/PowerShell/command-inventory/noun/sleep/start(53): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78