Adfind – My frequently used commands

Computer object membership – on currently authenticated domain:
adfind -default -sc c:<computer-object> memberof -stripdn

User object membership – on currently authenticated domain:
adfind -default -sc u:<user-object> memberof -stripdn

List members of a group – on currently authenticated domain:
adfind -default -sc g:<group-object> member -stripdn

Advertisements