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; ///