Search notes:

PowerShell cmdLet get-psReadLineKeyHandler

get-psReadLineKeyHandler returns an array of Microsoft.PowerShell.KeyHandler objects:
PS C:\> (get-psReadLineKeyHandler).GetType().FullName
System.Object[]

PS C:\> (get-psReadLineKeyHandler)[0].GetType().FullName
Microsoft.PowerShell.KeyHandler

Querying what a specific key is assigned to

By combininging get-psReadLineKeyHandler with the where-object cmdLet, it is possible to query what action a specific key is assigned to:
PS C:\> get-psReadLineKeyHandler | where-object key -eq 'Ctrl+Home' | select-object function,description

Function           Description
--------           -----------
BackwardDeleteLine Delete text from the cursor to the start of the line

Key handler groups

A key handler is assigned a group:
PS C:\> get-psReadLineKeyHandler | select-object group  -unique

         Group
         -----
         Basic
CursorMovement
       History
    Completion
 Miscellaneous
        Search

See also

Powershell command noun: psReadLineKeyHandler

Index