We help IT Professionals succeed at work.
Get Started

Get a list of  AD groups and  their members

105 Views
Last Modified: 2019-12-23
I have a list of AD groups and would like to export them into a report, which includes both the group name and the members. Exporting directly to csv only gives me the members, so I was wondering if there was a way to get the group name as well. Is there an approach I could apply to other commands in general? How do I  include the object against which the command was run alongside the command output itself?

Thank you!
Comment
Watch Question
Citrix Technology Professional / Director of TechDev Services, IPM
CERTIFIED EXPERT
Most Valuable Expert 2020
Distinguished Expert 2020
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE