Share via


ResetComputerMachinePasswordCommand.Credential Property

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

Usage

'Usage
Dim instance As ResetComputerMachinePasswordCommand
Dim value As PSCredential

value = instance.Credential

instance.Credential = value

Syntax

'Declaration
<ParameterAttribute> _
<ValidateNotNullOrEmptyAttribute> _
<CredentialAttribute> _
Public Property Credential As PSCredential
[ParameterAttribute] 
[ValidateNotNullOrEmptyAttribute] 
[CredentialAttribute] 
public PSCredential Credential { get; set; }
[ParameterAttribute] 
[ValidateNotNullOrEmptyAttribute] 
[CredentialAttribute] 
public:
property PSCredential^ Credential {
    PSCredential^ get ();
    void set (PSCredential^ value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public PSCredential get_Credential ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_Credential (PSCredential value)
CompilerGeneratedAttribute 
public function get Credential () : PSCredential

CompilerGeneratedAttribute 
public function set Credential (value : PSCredential)

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