CmdID / PowerShell / Cmdlets / Set
Set-LdapDirectory
Use the Set-LdapDirectory cmdlet to modify LDAP directory configurations. Exchange PowerShell reference
From the Exchange PowerShell reference 10 parameters Its page in the reference
Parameters
-IdThe Id parameter specifies the unique identifier of the LDAP directory configuration that you want to modify.-OrganizationThe Organization parameter specifies your organization where the LDAP directory configuration is 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.-HostThe Host parameter specifies the LDAP server host name or IP address.-NoSslThe NoSsl switch specifies that SSL/TLS is disabled for the updated connection settings.-PortThe Port parameter specifies the port used for LDAP communication.-TimeoutSecThe TimeoutSec parameter specifies the LDAP connection timeout in seconds.-UseSslThe UseSsl switch specifies that SSL/TLS is enabled for the updated connection settings.-WhatIf, -wiThe WhatIf switch simulates the actions of the command.