Tab completion provides automatic Help when you are typing in the Script Pane or in the Command Pane. Use the following steps to take advantage of this feature:

To automatically complete a command entry

In the Command Pane or Script Pane, type a few characters of a command and then press TAB to select the desired completion text. Tab completion helps with typing a cmdlet name, parameter name, variable name, object property name, or a path.

Note:

In the Script Pane, pressing TAB will automatically complete a command only when you are editing .ps1, .psd1, or .psm1 files. Tab completion works when you are typing in the Command Pane.

To automatically complete a cmdlet parameter entry

In the Command Pane or Script pane, type a cmdlet followed by a dash, and then press TAB.

For example, type get-process - and then press TAB to select from the parameters for the cmdlet.

See Also




Table Of Contents