Share via


TestComputerSecureChannelCommand.Repair Property

Gets and sets the value of the Repair parameter of the Test-ComputerSecureChannel 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 TestComputerSecureChannelCommand
Dim value As SwitchParameter

value = instance.Repair

instance.Repair = value

Syntax

'Declaration
<ParameterAttribute> _
Public Property Repair As SwitchParameter
[ParameterAttribute] 
public SwitchParameter Repair { get; set; }
[ParameterAttribute] 
public:
property SwitchParameter Repair {
    SwitchParameter get ();
    void set (SwitchParameter value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public SwitchParameter get_Repair ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_Repair (SwitchParameter value)
CompilerGeneratedAttribute 
public function get Repair () : SwitchParameter

CompilerGeneratedAttribute 
public function set Repair (value : SwitchParameter)

Property Value

When this parameter is specified, the cmdlet removes and then rebuilds the secure channel established by the NetLogon service.

Remarks

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

For Help at the command line, type:

get-help test-computersecurechannel

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

TestComputerSecureChannelCommand Class
TestComputerSecureChannelCommand Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK