Skip to content

Commit

Permalink
(GH-10458) Add note about sudo for Test-Connection
Browse files Browse the repository at this point in the history
This change adds a note to the `Test-Connection` reference documentation
about requiring `sudo` for non-standard buffer sizes.

- Resolves #10458
  • Loading branch information
michaeltlombardi committed Oct 25, 2023
1 parent 46304f6 commit ae6e414
Showing 1 changed file with 6 additions and 1 deletion.
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: 06/01/2023
ms.date: 10/25/2023
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 @@ -592,6 +592,11 @@ 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.

## RELATED LINKS

[Restart-Computer](Restart-Computer.md)
Expand Down

0 comments on commit ae6e414

Please sign in to comment.