Suppose I have the user id of a user in Active Directory. I'd like to get a list of all AD groups in which that user is currently a member of. How can I do this from the Windows command line?
I've tried the following:
dsget user "DC=jxd123" -memberof
dsquery failed:'-memberof' is an unknown parameter. type dsquery /? for help.