TestWSManCommand.Authentication Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 AuthenticationMechanism 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 override 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 Overrides Property Authentication As AuthenticationMechanism
Property Value
- Attributes
Remarks
Overriding to use a different default than the one in AuthenticatingWSManCommand base class