Only a couple hundred members.

From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On 
Behalf Of Daniel
Sent: Wednesday, June 08, 2016 2:16 PM
To: scripting@lists.myitforum.com
Subject: RE: [scripting] Simple query timing out

My first thought is "how stinkin' large is this group anyway?"

If the size of the group is causing enumeration to take too long, divide and 
conquer.

From: listsad...@lists.myitforum.com<mailto:listsad...@lists.myitforum.com> 
[mailto:listsad...@lists.myitforum.com] On Behalf Of Heaton, Joseph@Wildlife
Sent: Wednesday, June 08, 2016 10:01 AM
To: scripting@lists.myITforum.com<mailto:scripting@lists.myITforum.com>
Subject: [scripting] Simple query timing out

I'm trying to enumerate a group's membership, and export to a csv.  Here's my 
command:

Get-AdGroupMember -Identity "ProjectTracking_Users" | Select Name | export-csv 
c:\tracking.csv -NoTypeInfo

When I run this, it ends up timing out with this:

Get-ADGroupMember : The operation returned because the timeout limit was 
exceeded.
At line:1 char:1
+ Get-ADGroupMember -identity "ProjectTracking_Users" | Select Name | e ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationTimeout: (ProjectTracking_Users:ADGroup) 
[Get-ADGroupMember], TimeoutExceptio
   n
    + FullyQualifiedErrorId : The operation returned because the timeout limit 
was exceeded.,Microsoft.ActiveDirecto
   ry.Management.Commands.GetADGroupMember


I searched online, but the only thing that comes up is a size limit, not a 
timeout limit.  Any Ideas?

Thanks,

Joe Heaton
Information Technology Operations Branch
Data and Technology Division
CA Department of Fish and Wildlife
1700 9th Street, 3rd Floor
Sacramento, CA  95811
Desk:  (916) 323-1284

Every Californian should conserve water.  Find out how at:
[SaveOurWater_Logo]<http://saveourwater.com/>
SaveOurWater.com<http://saveourwater.com/> * 
Drought.CA.gov<http://drought.ca.gov/>






Reply via email to