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:
How can I get the list of users in my 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
How can I get the list of users in my domain local security group?
Get-ADGroupMember -Identity (Name of your group)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.