how to pull all the users information with a column mentioning all the groups they are member Of or All the OU's they are part of.

Vindhya Ranpise 0 Reputation points
2025-04-24T14:12:09.89+00:00

I'm trying to pull all the user information containing there corresponding groups information or the OU names from active directory.

I tried using powershell with below query but it didn't work.

get-aduser -identity username -Properties * | select DisplayName, MemberOf, State | export-csv -path c:\temp\export.csv

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
844 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.