February 11th, 2015

PowerTip: Automatically Find Options in PowerShell

Doctor Scripto
Scripter

Summary: Learn how to see available options in the Windows PowerShell ISE.

Hey, Scripting Guy! Question How can I easily see what options are available when I type in a cmdlet name in the Windows PowerShell ISE?

Hey, Scripting Guy! Answer Use IntelliSense. There are two ways to display IntelliSense:

1. From the Edit menu, select Start Intellisense.

2. Use the Ctrl-Space keyboard shortcut as follows:

        • In the Script pane of the Windows PowerShell ISE (the upper white box) type Get-Process.
        • Type a space after the final “s” in Get-Process.
        • From the Edit menu, select Start IntelliSense.
        • Choose the process name from the drop-down list that appears.

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback