Share via


AuthenticatingWSManCommand.Authentication Property

Definition

The following is the definition of the input parameter "Authentication". This parameter takes a set of authentication methods the user can select from. The available method are an enum called Authentication in the System.Management.Automation.Runspaces namespace. The available options should be as follows:

  • Default : Use the default authentication (ad defined by the underlying protocol) for establishing a remote connection.
  • Negotiate
  • Kerberos
  • Basic: Use basic authentication for establishing a remote connection. -CredSSP: Use CredSSP authentication for establishing a remote connection which will enable the user to perform credential delegation. (i.e. second hop)
[System.Management.Automation.Alias(new System.String[] { "auth", "am" })]
[System.Management.Automation.Parameter]
[System.Management.Automation.ValidateNotNullOrEmpty]
public virtual Microsoft.WSMan.Management.AuthenticationMechanism Authentication { get; set; }
[<System.Management.Automation.Alias(new System.String[] { "auth", "am" })>]
[<System.Management.Automation.Parameter>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Authentication : Microsoft.WSMan.Management.AuthenticationMechanism with get, set
Public Overridable Property Authentication As AuthenticationMechanism

Property Value

Attributes

Applies to