Thursday, June 5, 2014

PowerShell Shortcuts

Key
Description
Up / Down arrow
Scan forward or backward through your command history

Tab
Access the tab expansion function

Page Up / Page Down
Access the first or last command in the command history.

Home / End
Move to the beginning or end of the line.

Esc
To clean the current line
Delete / Backspace
Press Delete to delete the character under the cursor, or press the Backspace key to delete the character to the left of the cursor
Ctrl+S
pause or resume the display of output.

Ctrl+Left arrow / Ctrl+Right arrow
move left or right one word at a time
Ctrl + End
Delete all the characters in the line after the cursor
Ctrl + C
Break out of the subprompt or terminate execution
Alt + F7
Clears the command history
Alt + Space + E
Displays an editing shortcut menu with Mark, Copy, Paste, Select All, Scroll, and Find options
|
Break a line at the pipe character
F1
Moves the cursor one character to the right on the command line. At the end of the line, inserts one character from the text of your last command
F2
Creates a new command line by copying your last command line up to the character you type.
F3
Completes the command line with the content from your last command line, starting from the current cursor position to the end of the line
F4
Deletes characters from your current command line, starting from the current cursor position up to the character you type.
F5
Scans backward through your command history
F7
Displays a pop-up window with your command history and allows you to select a command. Use the arrow keys to scroll through the list. Press Enter to select a command to run, or press the Right arrow key to place the text on the command line.
F8
Uses text you've entered to scan backward through your command history for commands that match the text you've typed so far on the command line
F9
Runs a specific numbered command from your command history.

No comments:

Post a Comment