Two ways to select a rectangle in PowerShell

Method 1: Select while holding down the Alt key

Select while holding down the Alt key to make a rectangular selection.

image

Method 2: Change the properties

If you use a lot of rectangular selection, you can change the setting in the properties.

  1. Click “Properties”
  2. Click on “Options” tab -> “Text Selection” -> uncheck “Enable Line Wrapping”. Properties
  3. Finish

miajimyu’s comment

I recommend holding down the Alt key and selecting a rectangle,
as it can be done without changing any settings.

For macOS and other operating systems,
you can select a rectangle while holding down the Option key in Terminal.