Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn PowerShell Core 6.0

You're reading from  Learn PowerShell Core 6.0

Product type Book
Published in Jul 2018
Publisher Packt
ISBN-13 9781788838986
Pages 552 pages
Edition 1st Edition
Languages
Authors (2):
David das Neves David das Neves
Profile icon David das Neves
Jan-Hendrik Peters Jan-Hendrik Peters
Profile icon Jan-Hendrik Peters
View More author details
Toc

Table of Contents (26) Chapters close

Title Page
Dedication
Packt Upsell
Contributors
Preface
1. Current PowerShell Versions 2. PowerShell ISE Versus VSCode 3. Basic Coding Techniques 4. Advanced Coding Techniques 5. Writing Reusable Code 6. Working with Data 7. Understanding PowerShell Security 8. Just Enough Administration 9. DevOps with PowerShell 10. Creating Your Own PowerShell Repository 11. VSCode and PowerShell Release Pipelines 12. PowerShell Desired State Configuration 13. Working with Windows 14. Working with Azure 15. Connecting to Microsoft Online Services 16. Working with SCCM and SQL Server 17. PowerShell Deep Dives 1. PowerShell ISE Hotkeys 2. Assessments 3. Other Books You May Enjoy Index

Keyboard shortcuts for editing text


You can use the following keyboard shortcuts when you edit text:

Action

Keyboard Shortcuts

Use in

Help

F1

Script Pane Important: You can specify that F1 help comes from the TechNet Library on the web or downloaded Help (see Update-Help). To select, click ToolsOptions, then on the General Settings tab, set or clear Use local help content instead of online content.

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

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

 

 

Keyboard shortcuts for running scripts

You can use the following keyboard shortcuts when you run scripts in the Script Pane:

Action

Keyboard Shortcut

New

Ctrl+N

Open

Ctrl+O

Run

F5

Run Selection

F8

Stop Execution

Ctrl+BREAK. Ctrl+C can be used when the context is unambiguous (when there is no text selected).

Tab (to next script)

Ctrl+Tab Note: 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+Tab Note: 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.

Keyboard shortcuts for customizing the view

You can use the following keyboard shortcuts to customize the view in Windows PowerShell ISE. They are accessible from all the panes in the application.

Action

Keyboard Shortcut

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+I

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+PLUS SIGN

Zoom Out

CTRL+MINUS SIGN

 

 

Keyboard shortcuts for debugging scripts

You can use the following keyboard shortcuts when you debug scripts.

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

Note:

You can also use the keyboard shortcuts designed for the Windows PowerShell console when you debug scripts in Windows PowerShell ISE. To use these shortcuts, you must type the shortcut in the Command Pane and press 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

 

 

Keyboard shortcuts for Windows PowerShell tabs

You can use the following keyboard shortcuts when you use Windows PowerShell tabs:

Action

Keyboard Shortcut

Close PowerShell Tab

Ctrl+W

New PowerShell Tab

Ctrl+T

Previous PowerShell tab

Ctrl+Shift+Tab. This shortcut works only when no files are open on any Windows PowerShell tab.

Next Windows PowerShell tab

Ctrl+Tab This shortcut works only when no files are open on any Windows PowerShell tab.

Keyboard shortcuts for starting and exiting

You can use the following keyboard shortcuts to start the Windows PowerShell console (PowerShell.exe) or to exit Windows PowerShell ISE:

Action

Keyboard shortcut

Exit

ALT+F4

Start PowerShell.exe (Windows PowerShell console)

CTRL+SHIFT+P

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}