Search notes:

Powershell module console: set-consolePaletteColor

Set the color of an entry of the console color palette (as ordered in the properties dialog of conhost.exe).
The function get-paletteIndexOfConsoleColor turns an entry of the System.ConsoleColor enum into the index number of this (dialog-) palette.
The value of the first parameter must be between 0 and 15.
$paletteIndex =   4
$r            = 197
$g            =  15
$b            =  31

set-consolePaletteColor $paletteIndex  $r $g  $b

See also

This function is found in the PowerShell module console.

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/...', 1758207397, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/PowerShell/modules/personal/console/set-consolePaletteColor(50): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78