Skip to content

Commit

Permalink
Update note about MtuSize (#11699)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwheeler authored Jan 18, 2025
1 parent 225441e commit 328af83
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Management
ms.date: 12/01/2023
ms.date: 01/18/2025
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/test-connection?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Test-Connection
Expand Down Expand Up @@ -593,10 +593,9 @@ When you use the **Detailed** parameter, this cmdlet returns a

## NOTES

On Linux, using the **BufferSize** parameter or any combination of parameters with the
**MtuSizeDetect** parameter set that results in a non-default buffer size of 32 bytes may require
`sudo`. In those cases, `Test-Command` raises an exception with a message indicating that `sudo` is
required.
On Linux, using the **BufferSize** parameter or any combination of parameters with the **MtuSize**
parameter set that results in a non-default buffer size of 32 bytes may require `sudo`. In those
cases, `Test-Command` raises an exception with a message indicating that `sudo` is required.

## RELATED LINKS

Expand Down
11 changes: 5 additions & 6 deletions reference/7.5/Microsoft.PowerShell.Management/Test-Connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Management
ms.date: 01/18/2024
ms.date: 01/18/2025
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/test-connection?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Test-Connection
Expand Down Expand Up @@ -536,7 +536,7 @@ Accept wildcard characters: False

### -Traceroute

Causes the cmdlet to do a Traceroute test. When this parameter is used, the cmdlet returns a
Causes the cmdlet to do a traceroute test. When this parameter is used, the cmdlet returns a
`TestConnectionCommand+TraceStatus` object.

```yaml
Expand Down Expand Up @@ -593,10 +593,9 @@ When you use the **Detailed** parameter, this cmdlet returns a

## NOTES

On Linux, using the **BufferSize** parameter or any combination of parameters with the
**MtuSizeDetect** parameter set that results in a non-default buffer size of 32 bytes may require
`sudo`. In those cases, `Test-Command` raises an exception with a message indicating that `sudo` is
required.
On Linux, using the **BufferSize** parameter or any combination of parameters with the **MtuSize**
parameter set that results in a non-default buffer size of 32 bytes may require `sudo`. In those
cases, `Test-Command` raises an exception with a message indicating that `sudo` is required.

## RELATED LINKS

Expand Down
11 changes: 5 additions & 6 deletions reference/7.6/Microsoft.PowerShell.Management/Test-Connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Management
ms.date: 01/18/2024
ms.date: 01/18/2025
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/test-connection?view=powershell-7.6&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Test-Connection
Expand Down Expand Up @@ -536,7 +536,7 @@ Accept wildcard characters: False

### -Traceroute

Causes the cmdlet to do a Traceroute test. When this parameter is used, the cmdlet returns a
Causes the cmdlet to do a traceroute test. When this parameter is used, the cmdlet returns a
`TestConnectionCommand+TraceStatus` object.

```yaml
Expand Down Expand Up @@ -593,10 +593,9 @@ When you use the **Detailed** parameter, this cmdlet returns a

## NOTES

On Linux, using the **BufferSize** parameter or any combination of parameters with the
**MtuSizeDetect** parameter set that results in a non-default buffer size of 32 bytes may require
`sudo`. In those cases, `Test-Command` raises an exception with a message indicating that `sudo` is
required.
On Linux, using the **BufferSize** parameter or any combination of parameters with the **MtuSize**
parameter set that results in a non-default buffer size of 32 bytes may require `sudo`. In those
cases, `Test-Command` raises an exception with a message indicating that `sudo` is required.

## RELATED LINKS

Expand Down

0 comments on commit 328af83

Please sign in to comment.