TestComputerSecureChannelCommand.Server Property
Gets and sets the value of the Server 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 String
value = instance.Server
instance.Server = value
Syntax
'Declaration
<ValidateNotNullOrEmptyAttribute> _
<ParameterAttribute> _
Public Property Server As String
[ValidateNotNullOrEmptyAttribute]
[ParameterAttribute]
public string Server { get; set; }
[ValidateNotNullOrEmptyAttribute]
[ParameterAttribute]
public:
property String^ Server {
String^ get ();
void set (String^ value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */
public String get_Server ()
/** @property */
/** @attribute CompilerGeneratedAttribute() */
public void set_Server (String value)
CompilerGeneratedAttribute
public function get Server () : String
CompilerGeneratedAttribute
public function set Server (value : String)
Property Value
A String object that contains the name of the domain controller to run the command. If this parameter is omitted, the cmdlet selects a default domain controller for the operation.
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