Condividi tramite


Keyboard Shortcuts for the Windows PowerShell ISE

Use the following keyboard shortcuts to perform actions in Windows PowerShell Integrated Scripting Environment (ISE). Windows PowerShell ISE is available as part of the Windows Server and Windows client operating systems.

Tasti di scelta rapida per la modifica del testo

Quando si modifica il testo, è possibile usare i tasti di scelta rapida seguenti.

Azione Tasti di scelta rapida Use in
Aiuto F1 Script Pane Important: You can specify that F1 help comes from Microsoft Learn or downloaded Help (see Update-Help). To select, click Tools, Options, then on the General Settings tab, set or clear Use local help content instead of online content.
Seleziona tutto CTRL+A Script Pane
Copia CTRL+C Script Pane, Command Pane, Output Pane
Cut CTRL+X Script Pane, Command Pane
Expand or Collapse Outlining CTRL+M Script Pane
Trova nello script CTRL+F Script Pane
Trova avanti nello script F3 Script Pane
Trova il precedente nello script SHIFT+F3 Script Pane
Find Matching Brace CTRL+] Script Pane
Incolla CTRL+V Script Pane, Command Pane
Make Lowercase CTRL+U Script Pane, Command Pane
Make Uppercase CTRL+SHIFT+U Script Pane, Command Pane
Redo CTRL+Y Script Pane, Command Pane
Sostituisci nello script CTRL+H Script Pane
Salva CTRL+S Script Pane
Seleziona tutto CTRL+A Script Pane, Command Pane, Output Pane
Show Snippets CTRL+J Script Pane, Command Pane
Undo CTRL+Z Script Pane, Command Pane
Show Intellisense Help CTRL+Space Script Pane
Delete word to left CTRL+Backspace Script Pane
Delete word to right CTRL+Delete Script Pane

Tasti di scelta rapida per l'esecuzione di script

Quando si eseguono script nel riquadro di script, è possibile usare i tasti di scelta rapida seguenti.

Azione Keyboard Shortcut
Nuovo CTRL+N
Open CTRL+O
Run F5
Esegui selezione F8
Interrompi esecuzione CTRL+BREAK. CTRL+C può essere usato quando il contesto non è ambiguo (quando non è selezionato alcun testo).
Tab (allo script seguente) CTRL+TABNote: Tab to next script works only when you have a single Windows PowerShell tab open, or when you have more than one Windows PowerShell tab open, but the focus is in the Script Pane.
Tab (to previous script) CTRL+SHIFT+TABNote: Tab to previous script works when you have only one Windows PowerShell tab open, or if you have more than one Windows PowerShell tab open, and the focus is in the Script Pane.

Tasti di scelta rapida per personalizzare la visualizzazione

È possibile usare i tasti di scelta rapida seguenti per personalizzare la visualizzazione in Windows PowerShell ISE. Sono accessibili da tutti i riquadri dell'applicazione.

Azione Keyboard Shortcut
Go to Command (v2) or Console (v3 and later) Pane CTRL+D
Go to Output Pane (v2 only) CTRL+SHIFT+O
Vai al riquadro di script CTRL+I
Mostra pannello script CTRL+R
Hide Script Pane CTRL+R
Move Script Pane Up CTRL+1
Sposta riquadro di script a destra CTRL+2
Ingrandire il pannello script CTRL+3
Zoom avanti CTRL++
Zoom Out CTRL+-

Tasti di scelta rapida per il debug degli script

Quando si esegue il debug degli script, è possibile usare i tasti di scelta rapida seguenti.

Azione Keyboard Shortcut Use in
Esecuzione/continuazione F5 Script Pane, when debugging a script
Step Into F11 Script Pane, when debugging a script
Step Over F10 Script Pane, when debugging a script
Step Out SHIFT+F11 Script Pane, when debugging a script
Visualizzare lo stack di chiamate CTRL+SHIFT+D Script Pane, when debugging a script
Elencare i punti di interruzione CTRL+SHIFT+L Script Pane, when debugging a script
Attiva/disattiva punto di interruzione F9 Script Pane, when debugging a script
Rimuovi tutti i punti di interruzione CTRL+SHIFT+F9 Script Pane, when debugging a script
Arresta debugger SHIFT+F5 Script Pane, when debugging a script

Annotazioni

È anche possibile usare i tasti di scelta rapida progettati per la console di Windows PowerShell quando si esegue il debug degli script in Windows PowerShell ISE. To use these shortcuts, you must type the shortcut in the Command Pane and press ENTER.

Azione Keyboard Shortcut Use in
Continua C Console Pane, when debugging a script
Step Into S Console Pane, when debugging a script
Step Over V Console Pane, when debugging a script
Step Out O Console Pane, when debugging a script
Repeat Last Command (for Step Into or Step Over) ENTRARE Console Pane, when debugging a script
Visualizzare lo stack di chiamate K Console Pane, when debugging a script
Arrestare il Debug Q Console Pane, when debugging a script
Elenco dello script L Console Pane, when debugging a script
Visualizzare i comandi di debug della console H o ? Console Pane, when debugging a script

Tasti di scelta rapida per le schede di Windows PowerShell

Quando si usano le schede di Windows PowerShell, è possibile usare i tasti di scelta rapida seguenti.

Azione Keyboard Shortcut
Chiudere la scheda di PowerShell CTRL+W
Nuova scheda di PowerShell CTRL+T
Scheda PowerShell precedente CTRL+SHIFT+TAB. This shortcut works only when no files are open on any Windows PowerShell tab.
Scheda Successiva di Windows PowerShell CTRL+TAB. This shortcut works only when no files are open on any Windows PowerShell tab.

Tasti di scelta rapida per l'avvio e l'uscita

You can use the following keyboard shortcuts to exit the Windows PowerShell ISE or to start a new Windows PowerShell session outside of the ISE.

Azione Keyboard Shortcut
Exit ALT+F4 closes the ISE.
Inizio powershell.exe CTRL+SHIFT+P opens a new Windows PowerShell session outside of the ISE.

Vedere anche