# Console

The Console is a command line interface (CLI) designed for efficiency, providing a streamlined tool for working with Windows PowerShell and Sitecore.

The default security configuration for SPE requires the Console to be in an [Elevated Session State](/security.md) before allowing the execution of commands. The following figure shows the Console when the User Account Controls (UAC) are disabled. While this is a common configuration for developers, we highly encourage you to ensure UAC is enabled in higher environments.

![PowerShell Console](/files/4KaKgTkwrUQV6qqRoPC1)

## Shortcuts

Below are the shortcuts available in the console.

| **Shortcut**        | **Usage**                                                         |
| ------------------- | ----------------------------------------------------------------- |
| Enter               | Submits line for execution.                                       |
| Tab                 | Autocomplete commands. Press tab again to cycle through commands. |
| Shift+Tab           | Reverse cycle through Autocomplete commands.                      |
| Shift+Enter         | Inserts new line. Works when the backtick is used.                |
| ArrowUp/Ctrl+P      | Show previous command from history                                |
| ArrowDown/Ctrl+N    | Show next command from history                                    |
| Delete/backspace    | Remove one character from right/left to the cursor                |
| ArrowLeft/Ctrl+B    | Move cursor to the left                                           |
| ArrowRight/Ctrl+F   | Move cursor to the right                                          |
| Ctrl+ArrowLeft      | Move cursor to previous word                                      |
| Ctrl+ArrowRight     | Move cursor to next word                                          |
| Ctrl+A/Home         | Move cursor to the beginning of the line                          |
| Ctrl+E/End          | Move cursor to the end of the line                                |
| Ctrl+K/Alt+D        | Remove the text after the cursor                                  |
| Ctrl+H              | Remove character before the cursor                                |
| Ctrl+D/Delete       | Remove character selected by the cursor                           |
| Ctrl+C/Escape       | Remove all text in the line                                       |
| Ctrl+U              | Remove the text before the cursor                                 |
| Ctrl+V/Shift+Insert | Insert text from the clipboard                                    |
| Ctrl+Alt+Shift +    | Increase the font size                                            |
| Ctrl+Alt+Shift -    | Decrease the font size                                            |
| PageUp              | Scroll console up                                                 |
| PageDown            | Scroll console down                                               |
| Ctrl+R              | Reverse search history                                            |

**Note:** The font family, font size, and other settings can be configured through the ISE.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sitecorepowershell.com/interfaces/console.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
