jfLDAP
LDAP command line utility for Windows
LDAP cli tools. Includes MemberOf to test if user/computer is member of group.
Examples:
ldap memberof myserver mydomain user pass dc=mydomain,dc=com testaccount testgroup
if %ERRORLEVEL%==1 goto action
Where user/pass must have access to LDAP server.
To test computer add $ to computername.
Source @ github.com/pquiring/javaforce
Built using GraalVM