TestConnectionCommand.BufferSize Property

Definition

Gets or sets the buffer size to send with the ping packet. The default (from Windows) is 32 bytes. Max value is 65500 (limitation imposed by Windows API).

C#
public int BufferSize { get; set; }
C#
[System.Management.Automation.Alias(new System.String[] { "Size", "Bytes", "BS" })]
[System.Management.Automation.Parameter(ParameterSetName="DefaultPing")]
[System.Management.Automation.Parameter(ParameterSetName="RepeatPing")]
[System.Management.Automation.ValidateRange(0, 65500)]
public int BufferSize { get; set; }

Property Value

Attributes

Applies to

Produto Versións
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0