Check AD Account

dsquery user cn=users,dc=test,dc=com -name user1


Check Group

dsquery group cn=users,dc=test,dc=com -name group1


Check Computer

dsquery computer cn=computer,dc=test,dc=com -name computer1