TestConnectionCommand.Quiet Property

Gets and sets the value of the Quiet parameter of the Test-Connection cmdlet. This property is introduced in Windows PowerShell 2.0.

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)

Usage

'Usage
Dim instance As TestConnectionCommand
Dim value As SwitchParameter

value = instance.Quiet

instance.Quiet = value

Syntax

'Declaration
<ParameterAttribute(ParameterSetName:="Quiet")> _
Public Property Quiet As SwitchParameter
[ParameterAttribute(ParameterSetName="Quiet")] 
public SwitchParameter Quiet { get; set; }
[ParameterAttribute(ParameterSetName=L"Quiet")] 
public:
property SwitchParameter Quiet {
    SwitchParameter get ();
    void set (SwitchParameter value);
}
/** @property */
public SwitchParameter get_Quiet ()

/** @property */
public void set_Quiet (SwitchParameter value)
public function get Quiet () : SwitchParameter

public function set Quiet (value : SwitchParameter)

Property Value

When the parameter is specified, the cmdlet suppresses all errors and returns $True if any pings succeeds and $False if all pings fail.

Remarks

This topic is included in this SDK for completeness only. For more information about this cmdlet, see Test-Connection in the Microsoft TechNet library.

For Help at the command line, type:

get-help test-connection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

TestConnectionCommand Class
TestConnectionCommand Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK