?
Solved

Powershell AD Groupmember search

Posted on 2011-02-15
2
Medium Priority
?
2,825 Views
Last Modified: 2012-05-11
HI,

I am trying to use the powershell command get-adgroupmember to list the members of a Security group on a windows 2008 R2 machine. It was working fine until I added another security group to it, which would bring the members up to about 6000.

The error I recieve is that the command exceeded the limit.  Any ideas?
0
Comment
Question by:sqg9
[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
2 Comments
 
LVL 27

Accepted Solution

by:
KenMcF earned 500 total points
ID: 34903450
I have had problems with this in the past and have not found a fix using the MS AD cmdlets. For large groups I use either the Quest tools or ADSI.

get-qadgroupmember GROUPNAME -sizelimit 0 -indirect | Select name, samaccountname

or just a count

(get-qadgroupmember GROUPNAME -sizelimit 0 -indirect).count
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
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…
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 …
Suggested Courses
Course of the Month8 days, 13 hours left to enroll

764 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