From b09ee1689b764bd95d5e3c5d4d87828c2e32f5e7 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Mon, 5 Jun 2023 19:19:49 -0500 Subject: [PATCH] Add `ParameterSetName` for the `-Detailed` parameter (#19727) --- .../commands/management/TestConnectionCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/TestConnectionCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/TestConnectionCommand.cs index 3e9bbedc60..1f497e5dd2 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/TestConnectionCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/TestConnectionCommand.cs @@ -188,7 +188,7 @@ namespace Microsoft.PowerShell.Commands /// Gets or sets whether to enable detailed output mode while running a TCP connection test. /// Without this flag, the TCP test will return a boolean result. /// - [Parameter] + [Parameter(ParameterSetName = TcpPortParameterSet)] public SwitchParameter Detailed; ///