Link to home
Start Free TrialLog in
Avatar of fireguy1125
fireguy1125

asked on

Get-ADGroupMember PowerShell

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?
Avatar of becraig
becraig
Flag of United States of America image

Get-ADGroupMember -Identity (Name of your group)
ASKER CERTIFIED SOLUTION
Avatar of Delete
Delete
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial