CmdID / PowerShell / Cmdlets / New
New-AdfsLdapServerConnection
Creates a connection object. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-AuthenticationMethodSpecifies the authentication method the local claims provider trust uses.-CredentialSpecifies the credentials to use for the connection to the LDAP host.-HostNameSpecifies the fully qualified domain name of the server that hosts the LDAP folder to which Active Directory Federation Services (AD FS) connects for authentication requests.-PortSpecifies the port that AD FS uses to connect to the LDAP host.-SslModeSpecifies SSL setting of the connection.