Solved

Attribute and code to obtain all security groups a user is a member of in AD

Posted on 2013-12-10
3
178 Views
Last Modified: 2014-03-24
I am trying to obtain a list of all security groups a user in Active Directory is a member of.  I understand the concept of writing powershell code to obtain attributes for an individual or group of individuals within an OU container, but for some reason i am having a difficult time finding the correct attribute and/or applying it to the code.  

Below is what i thought would work, but it is just returning a system string message in the field so there is probably more code required.  info in bold is generic info for the OU and server name

Get-QADUser -SearchRoot dfps.txnet.state.tx.us/OU Name -SizeLimit 0 -Service Server Name | select memberof| Export-Csv c:\Temp\test.csv
0
Comment
Question by:jsawicki
3 Comments
 
LVL 14

Assisted Solution

by:brendanmeyer
brendanmeyer earned 250 total points
ID: 39710176
0
 
LVL 7

Expert Comment

by:XGIS
ID: 39710225
Hello jsawicki... If you are interested in a C# web page style solution.. I could possibly assist you there as we have worked a method that works inside a secure domain.
0
 
LVL 12

Accepted Solution

by:
SreRaj earned 250 total points
ID: 39710558
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This article explains the steps required to use the default Photos screensaver to display branding/corporate images
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question