ค้นหาเว็บไซต์

แป้นพิมพ์ลัดสำหรับ Windows PowerShell ISE


ใช้แป้นพิมพ์ลัดต่อไปนี้เพื่อดำเนินการใน Windows PowerShell Integrated Scripting Environment (ISE) Windows PowerShell ISE พร้อมใช้งานโดยเป็นส่วนหนึ่งของระบบปฏิบัติการ Windows Server และไคลเอนต์ Windows

แป้นพิมพ์ลัดสำหรับแก้ไขข้อความ

คุณสามารถใช้แป้นพิมพ์ลัดต่อไปนี้เมื่อคุณแก้ไขข้อความ

Action Keyboard Shortcuts Use in
Help 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.
Select All CTRL+A Script Pane
Copy CTRL+C Script Pane, Command Pane, Output Pane
Cut CTRL+X Script Pane, Command Pane
Expand or Collapse Outlining CTRL+M Script Pane
Find in Script CTRL+F Script Pane
Find Next in Script F3 Script Pane
Find Previous in Script SHIFT+F3 Script Pane
Find Matching Brace CTRL+] Script Pane
Paste 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
Replace in Script CTRL+H Script Pane
Save CTRL+S Script Pane
Select All 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

แป้นพิมพ์ลัดสำหรับการเรียกใช้สคริปต์

คุณสามารถใช้แป้นพิมพ์ลัดต่อไปนี้เมื่อคุณเรียกใช้สคริปต์ในบานหน้าต่างสคริปต์

New

CTRL+N

Open

CTRL+O

Run

F5

Run Selection

F8

Stop Execution

CTRL+BREAK. CTRL+C สามารถใช้ได้เมื่อบริบทไม่คลุมเครือ (เมื่อไม่ได้เลือกข้อความ)

Tab (to next script)

CTRL+TAB หมายเหตุ: แท็บไปยังสคริปต์ถัดไปจะทำงานเฉพาะเมื่อคุณเปิดแท็บ Windows PowerShell แท็บเดียว หรือเมื่อคุณมี Windows มากกว่าหนึ่งแท็บ แท็บ PowerShell เปิดอยู่ แต่โฟกัสอยู่ในบานหน้าต่างสคริปต์

Tab (to previous script)

CTRL+SHIFT+TAB หมายเหตุ: แท็บไปจนถึงสคริปต์ก่อนหน้าจะทำงานเมื่อคุณเปิดแท็บ Windows PowerShell เพียงแท็บเดียว หรือถ้าคุณเปิดแท็บ Windows PowerShell ไว้มากกว่าหนึ่งแท็บ และโฟกัสอยู่ในบานหน้าต่างสคริปต์

แป้นพิมพ์ลัดสำหรับปรับแต่งมุมมอง

คุณสามารถใช้แป้นพิมพ์ลัดต่อไปนี้เพื่อกำหนดมุมมองใน Windows PowerShell ISE สามารถเข้าถึงได้จากบานหน้าต่างทั้งหมดในแอปพลิเคชัน

Go to Command (v2) or Console (v3 and later) Pane

CTRL+D

Go to Output Pane (v2 only)

CTRL+SHIFT+O

Go to Script Pane

CTRL+ฉัน

Show Script Pane

CTRL+R

Hide Script Pane

CTRL+R

Move Script Pane Up

CTRL+1

Move Script Pane Right

CTRL+2

Maximize Script Pane

CTRL+3

Zoom In

CTRL++

Zoom Out

CTRL+-

แป้นพิมพ์ลัดสำหรับการดีบักสคริปต์

คุณสามารถใช้แป้นพิมพ์ลัดต่อไปนี้เมื่อคุณดีบักสคริปต์

Action Keyboard Shortcut Use in
Run/Continue 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
Display Call Stack CTRL+SHIFT+D Script Pane, when debugging a script
List Breakpoints CTRL+SHIFT+L Script Pane, when debugging a script
Toggle Breakpoint F9 Script Pane, when debugging a script
Remove All Breakpoints CTRL+SHIFT+F9 Script Pane, when debugging a script
Stop Debugger SHIFT+F5 Script Pane, when debugging a script

บันทึก

คุณยังสามารถใช้แป้นพิมพ์ลัดที่ออกแบบมาสำหรับคอนโซล Windows PowerShell เมื่อคุณดีบักสคริปต์ใน Windows PowerShell ISE หากต้องการใช้ทางลัดเหล่านี้ คุณต้องพิมพ์ทางลัดในบานหน้าต่างคำสั่งแล้วกด ENTER

Action Keyboard Shortcut Use in
Continue 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) ENTER Console Pane, when debugging a script
Display Call Stack K Console Pane, when debugging a script
Stop Debugging Q Console Pane, when debugging a script
List the Script L Console Pane, when debugging a script
Display Console Debugging Commands H or ? Console Pane, when debugging a script

แป้นพิมพ์ลัดสำหรับแท็บ Windows PowerShell

คุณสามารถใช้แป้นพิมพ์ลัดต่อไปนี้เมื่อคุณใช้แท็บ Windows PowerShell

Close PowerShell Tab

CTRL+W

New PowerShell Tab

CTRL+T

Previous PowerShell tab

CTRL+SHIFT+แท็บ ทางลัดนี้ใช้งานได้เฉพาะเมื่อไม่มีไฟล์ใดเปิดอยู่บนแท็บ Windows PowerShell

Next Windows PowerShell tab

CTRL+แท็บ ทางลัดนี้ใช้งานได้เฉพาะเมื่อไม่มีไฟล์ใดเปิดอยู่บนแท็บ Windows PowerShell

แป้นพิมพ์ลัดสำหรับการเริ่มต้นและออก

คุณสามารถใช้แป้นพิมพ์ลัดต่อไปนี้เพื่อออกจาก Windows PowerShell ISE หรือเพื่อเริ่มเซสชัน Windows PowerShell ใหม่ภายนอก ISE

Exit

ALT+F4 ปิด ISE

Start PowerShell.exe

CTRL+SHIFT+P เปิดเซสชัน Windows PowerShell ใหม่ภายนอก ISE

ดูเพิ่มเติม

  • นิตยสาร PowerShell: รายการแป้นพิมพ์ลัด Windows PowerShell ISE ทั้งหมด

บทความที่เกี่ยวข้อง