The following procedure describes how to create a shortcut to Windows PowerShell that has several convenient options customized.
- Create a shortcut that points to Powershell.exe.
- Right-click the shortcut, and then click Properties.
- Click the Options tab.
- In the Edit Options section, select the QuickEdit
check box.
This setting lets you select text in the Windows PowerShell console window by dragging the left mouse button, and it lets you copy text to the clipboard by pressing ENTER or by right-clicking the mouse.
- In the Edit Options section, select the Insert
Mode check box. This setting lets you right-click in the
console window to automatically paste text from the clipboard.
- In the Command History section, type or select a number
between 1 and 999 in the Buffer Size box. This sets the
number of typed commands that will be kept in the console
buffer.
- In the Command History section, select the Discard
Old Duplicates check box to eliminate repeated commands from
the console buffer.
- Click the Layout tab.
- In the Screen Buffer section, type a number between 1
and 9999 in the Height box. The height represents the number
of lines of output that are buffered. This is the maximum number of
lines retained for viewing when you scroll through the console
window. If this number is lower than the height shown in the
Window size section, the window size height will
automatically be reduced to the same value.
- In the Window Size section, type a number between 1 and
9999 for the width. This represents the number of characters that
are displayed across the console window. The default width is 80,
and Windows PowerShell's output formatting is designed for this
width.
- If you want to place the console at a particular point on the
desktop when it is opened, clear the Let system position
window check box in the Window position section, and
then change the values in the Left and Top boxes in
the Window position section.
- Click OK.