Search notes:

PowerShell cmdLet Write-Progress

The PowerShell cmdlet write-progress updates a progress bar which might be used to indicate how far a certain task already is.
for ($percent = 0; $percent -le 100; $percent += 5) {
  start-sleep -milliSeconds 500
  write-progress -activity 'Doing nothing' -status "$percent%:" -percentComplete $percent
}
Github repository about-PowerShell, path: /cmdlets/progress/write.ps1

See also

$host.ui.writeProgress(…)
The cmdLet verb write
The $progressPreference preference variable
Powershell command noun: progress

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/...', 1745470823, '13.58.121.189', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/PowerShell/command-inventory/noun/progress/write(56): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78