From ae6e4147d2ce7a13b860e1d83fe4cbd2ac213e83 Mon Sep 17 00:00:00 2001 From: Michael Lombardi Date: Wed, 25 Oct 2023 09:24:55 -0500 Subject: [PATCH] (GH-10458) Add note about `sudo` for `Test-Connection` This change adds a note to the `Test-Connection` reference documentation about requiring `sudo` for non-standard buffer sizes. - Resolves #10458 --- .../7.4/Microsoft.PowerShell.Management/Test-Connection.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/reference/7.4/Microsoft.PowerShell.Management/Test-Connection.md b/reference/7.4/Microsoft.PowerShell.Management/Test-Connection.md index 74cd052d95fd..3123cfecb55e 100644 --- a/reference/7.4/Microsoft.PowerShell.Management/Test-Connection.md +++ b/reference/7.4/Microsoft.PowerShell.Management/Test-Connection.md @@ -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 @@ -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)