Solved

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

Posted on 2013-12-10
3
177 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Mapping Drives using Group policy preferences Are you still using old scripts to map your network drives if so this article will show you how to get away for old scripts and move toward Group Policy Preference for mapping them. First things f…
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
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 …

803 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