How to connect or test ldap server connection in windows through command prompt or Powershell cmdlet without GUI

Rajesh Kumar 21 Reputation points
2020-08-07T08:06:31.417+00:00

In our company infrastructure we have an ldap directory service hosted. Currently I'm using Ldap tool to connect to ldap directory service to search for the records.

Now I have a task to modify few attributes for several users. Manually its taking lot of time to update the attributes. I'm looking to develop a script where i can connect to ldap server and traverse the directory tree to modify attributes. I have searched in internet for any command in windows to test connectivity to server could not find any command in windows

Kindly request anyone to help me with any available command in windows or any powershell module to use for ldap connection and search the records like Get-ADUser or Get-ADObject.

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,041 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. 2020-08-10T01:58:54.517+00:00

    This forum aims to provide users with script modification assistance and answers to commands.
    Creating scripts is not within the scope of our technical support. Of course, I am also trying to search for the corresponding information for you.
    BTW we are also very happy to see that other users on the forum can answer your questions.
    Please be patient.

    0 comments No comments

  2. Bastien Perez - Clidsys 6 Reputation points MVP
    2020-08-13T16:36:07.63+00:00

    Hello,

    Try this module S.DS.P. Please test it before!

    0 comments No comments