Share via


ResetComputerMachinePasswordCommand.Server Property

Gets and sets the value of the Server parameter of the Reset-ComputerMachinePassword 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 ResetComputerMachinePasswordCommand
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 a domain controller to use when setting the machine account password.

Remarks

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

For Help at the command line, type:

get-help reset-computermachinepassword

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

ResetComputerMachinePasswordCommand Class
ResetComputerMachinePasswordCommand Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK