external help file | Module Name | online version | schema |
---|---|---|---|
ProcessEx.dll-Help.xml |
ProcessEx |
github.com/jborean93/ProcessEx/blob/main/docs/en-US/Resize-ConPTY.md |
2.0.0 |
Resize a ConPTY buffer.
Resize-ConPTY [-ConPTY] <SafeHandle[]> [-Width] <Int16> [-Height] <Int16> [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Resizes the width and height of a ConPTY buffer.
PS C:\> Resize-ConPTY -ConPTY $conPTY -Width 160 -Heigth 120
Resizes the buffer of the supplied ConPTY to have a width of 160 characters and a height of 120 characters.
The ConPTY to resize as created by New-ConPTY
.
Type: SafeHandle[]
Parameter Sets: (All)
Aliases: InputObject
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
The new height of the ConPTY.
Type: Int16
Parameter Sets: (All)
Aliases: Y
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
New common parameter introduced in PowerShell 7.4.
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The new width of the ConPTY
Type: Int16
Parameter Sets: (All)
Aliases: X
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
The ConPTY to resize.
Introducing the Windows Pseudo Console (ConPTY) ResizePseudocConsole