CmdID / PowerShell / Cmdlets / Remove
Remove-LdapDirectory
Use the Remove-LdapDirectory cmdlet to remove LDAP directory configurations. Exchange PowerShell reference
From the Exchange PowerShell reference 5 parameters Its page in the reference
Parameters
-IdThe Id parameter specifies the unique identifier of the LDAP directory configuration that you want to remove.-OrganizationThe Organization parameter specifies your organization where the LDAP directory configuration is stored (for example, contoso.onmicrosoft.com).-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-ForceThe Force switch hides warning or confirmation messages.-WhatIf, -wiThe WhatIf switch simulates the actions of the command.