Search notes:

PowerShell: Command history

Tab Completion

Tab completion allows to complete a command from the history by entering a hash sign # followed by the text fragment that is to be searched in the history:
PS C:\> #invoke
If the # is followed by a number, the tabulator will insert the text of the command whose id corresponds to this number.

TODO

There are two histories:

See also

The default location of the file that stores the command history on Windows seems to be $env:APPDATA\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt
The PsReadLine options
The cmdLet noun history

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