How to query LDAP via port 636 from powershell?
8,181
I had the same question as you did. Here is a link that I found. It worked perfectly. I tested it against several of our Domain Controllers, and also against a vanity name i.e. ldaps.domain.com. It worked as expected.
Testing LDAP and LDAPS connectivity with PowerShell
Related videos on Youtube
Author by
Darktux
Updated on September 18, 2022Comments
-
Darktux over 1 year
I use adsi to connect to AD and measure the latency of the connection. For same query when i replace server with server:636 , it fails. What is the easiest way to do a ldap "find" through 636 port?
-
Cory Knutson about 4 yearsWelcome to ServerFault! Link only answers are not allowed. Please include relevant information to prevent issues with link-rot. Thank you. serverfault.com/help/how-to-answer