Partager via


ConnectPSSessionCommand.Authentication Property

Definition

Use basic authentication to authenticate the user.

public:
 property System::Management::Automation::Runspaces::AuthenticationMechanism Authentication { System::Management::Automation::Runspaces::AuthenticationMechanism get(); void set(System::Management::Automation::Runspaces::AuthenticationMechanism value); };
public System.Management.Automation.Runspaces.AuthenticationMechanism Authentication { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="ComputerNameGuid")]
[System.Management.Automation.Parameter(ParameterSetName="ConnectionUri")]
[System.Management.Automation.Parameter(ParameterSetName="ConnectionUriGuid")]
public System.Management.Automation.Runspaces.AuthenticationMechanism Authentication { get; set; }
member this.Authentication : System.Management.Automation.Runspaces.AuthenticationMechanism with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="ComputerNameGuid")>]
[<System.Management.Automation.Parameter(ParameterSetName="ConnectionUri")>]
[<System.Management.Automation.Parameter(ParameterSetName="ConnectionUriGuid")>]
member this.Authentication : System.Management.Automation.Runspaces.AuthenticationMechanism with get, set
Public Property Authentication As AuthenticationMechanism

Property Value

Attributes

Applies to