powershell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
powershell [2024/11/06 18:59] – [History] mguptonpowershell [2024/11/08 14:27] (current) – [History] mgupton
Line 24: Line 24:
   * Use ''get-history | out-gridview -Passthru | invoke-history'' to get and invoke command from history using a grid view. Alternatively, ''h | ogv -p | r''. Or, just create a function for it, ''function hh {get-history | out-gridview -Passthru | invoke-history}''   * Use ''get-history | out-gridview -Passthru | invoke-history'' to get and invoke command from history using a grid view. Alternatively, ''h | ogv -p | r''. Or, just create a function for it, ''function hh {get-history | out-gridview -Passthru | invoke-history}''
   * Use ''Ctrl+r'' to interactively search backward through history and ''Ctrl+s'' to search forward   * Use ''Ctrl+r'' to interactively search backward through history and ''Ctrl+s'' to search forward
-      * Use left/right arrow keys or ''end'' to select the current search result+      * Use ''Esc'' to recall command to current command line 
 +      * Use ''Esc'' again to remove it from the current command line 
 +      * Alternatively, use left/right arrow keys or ''end'' to select the current search result
   * Use ''Esc'' to clear the current line   * Use ''Esc'' to clear the current line
   * Use ''Ctrl+l'' to clear whole screen   * Use ''Ctrl+l'' to clear whole screen
  • powershell.1730919582.txt.gz
  • Last modified: 2024/11/06 18:59
  • by mgupton