PowershellSettingsExtensions.

UseAuthenticationMechanism(PowershellSettings, AuthenticationMechanism) Method

Summary

Sets the authentication mechanism to use when connecting

Syntax

public static PowershellSettings UseAuthenticationMechanism(this PowershellSettings settings, AuthenticationMechanism authenticationMechanism)

Parameters

Name Type Description
settings PowershellSettings The powershell settings.
authenticationMechanism AuthenticationMechanism The authentication mechanism to connect with.

Return Value

Type Description
PowershellSettings The same PowershellSettings instance so that multiple calls can be chained.