Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2013-12-10
3
Medium Priority
?
182 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 14

Assisted Solution

by:brendanmeyer
brendanmeyer earned 1000 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 1000 total points
ID: 39710558
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
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 …
Suggested Courses

721 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