Search notes:

Powershell: $host.ui.rawUI

$host.ui is a System.Management.Automation.Internal.Host.InternalHostRawUserInterface object.
Interesting methods and properties:
FlushInputBuffer() Compare with ReadKey()
GetBufferContents(), SetBufferContents()
LengthInBufferCells()
NewBufferCellArray()
ReadKey() Optionally takes a System.Management.Automation.Host.ReadKey parameter and returns a System.Management.Automation.Host.KeyInfo object). Compare with FlushInputBuffer()
ScrollBufferContents()
BackgroundColor, ForegroundColor Defines a PowerShell host's console foreground and background colors.
BufferSize A System.Management.Automation.Host.Size struct
CursorPosition A System.Management.Automation.Host.Coordinates struct
CursorSize An Int32
KeyAvailable A Boolean
MaxPhysicalWindowSize A System.Management.Automation.Host.Size struct
MaxWindowSize A System.Management.Automation.Host.Size struct
WindowPosition A System.Management.Automation.Host.Coordinates struct
WindowSize A System.Management.Automation.Host.Size struct
WindowTitle

See also

$host.ui

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/...', 1758200703, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/PowerShell/language/variable/automatic/host/ui/rawUI/index(59): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78