Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Powershell AD Groupmember search

Posted on 2011-02-15
2
Medium Priority
?
2,863 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

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…
If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
This video discusses moving either the default database or any database to a new volume.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

609 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