CmdID / PowerShell / Cmdlets / Add
Add-LdapDirectory
Use the Add-LdapDirectory cmdlet to create LDAP directory configurations. Exchange PowerShell reference
From the Exchange PowerShell reference 9 parameters Its page in the reference
Parameters
-IdThe Id parameter specifies the unique identifier of the LDAP directory configuration that you want to create.-HostThe Host parameter specifies the LDAP server host name or IP address.-PortThe Port parameter specifies the port used for LDAP communication.-OrganizationThe Organization parameter specifies your organization where the LDAP directory configuration is created and stored (for example, contoso.onmicrosoft.com).-BaseDnThe BaseDn parameter specifies the base distinguished name that scopes LDAP searches.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-TimeoutSecThe TimeoutSec parameter specifies the LDAP connection timeout in seconds.-UseSslThe UseSsl switch specifies that SSL/TLS is used for the connection to the LDAP server.-WhatIf, -wiThe WhatIf switch simulates the actions of the command.