Solved

Get-ADGroupMember PowerShell

Posted on 2014-04-01
2
2,343 Views
Last Modified: 2014-04-01
I'm trying to get a list of users in a Domain Local security group.

For all of my other groups, that are either Global or Universal, I'm able to achieve this using the

Get-ADGroupMember command.

This does not seem to work with a domain local security group, and instead returns the following response:


Get-ADGroupMember : The operation completed successfully
At line:1 char:18
+ Get-ADGroupMember <<<<  "DomainLocal Group Name"
    + CategoryInfo          : NotSpecified: (DomainLocal Group Name:ADGroup) [Get-ADGroupMember], ADException
    + FullyQualifiedErrorId : The operation completed successfully,Microsoft.ActiveDirectory.Management.Commands.GetAD
   GroupMember

Open in new window


How can I get the list of users in my domain local security group?
0
Comment
Question by:fireguy1125
2 Comments
 
LVL 29

Expert Comment

by:becraig
ID: 39970589
Get-ADGroupMember -Identity (Name of your group)
0
 
LVL 7

Accepted Solution

by:
Delete earned 500 total points
ID: 39970619
My assumption is that you have a Foreign Security Principle in the Domain Local group that you are trying to query.  

If that is the case then try using Quest Active Roles Management for Active Directory which you can download here: http://www.quest.com/powershell/activeroles-server.aspx

Once you have those do the below command:

Get-QADGroupMember "GroupName" | Select Name
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
A brief introduction to what I consider to be the best editor for PowerShell.
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 …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now