|
Replies:
4
-
Pages:
1
-
Last Post:
Nov 20, 2009 8:30 AM
by: dave_seifert_375
|
|
|
Posts:
7
Registered:
11/11/09
|
|
|
|
"Insufficient memory to continue the execution of the program." Error
Posted:
Nov 11, 2009 3:38 AM
|
|
|
I am running the following script to return all group members for all groups on our domain:
Get-QADGroup -Empty $false -SizeLimit 0 | Foreach-Object{ $GroupName = $_.NameGet-QADGroupMember $GroupName -SizeLimit 0 | Select-Object @{n="GroupName";e={$GroupName}}, saMAccountName, Name } | Out-File -Width 1000 c:\test.txt
I am getting the following error:
Select-Object : Exception getting "Name": "Insufficient memory to continue the execution of the program." At C:\powershell\Get_All_HMIS_GroupMembers.PS1:5 char:64 + Get-QADGroupMember $GroupName -SizeLimit 0 | Select-Object <<<< @{n="GroupName";e={$GroupName}}, saMAccountName, Name
Has anyone else received this error? If so, how did you resolve it? Thank you!
|
|
|
Posts:
415
Registered:
9/4/07
|
|
|
|
Re: "Insufficient memory to continue the execution of the program." Error
Posted:
Nov 12, 2009 12:26 AM
in response to: dave_seifert_375
|
|
|
What version of AD cmdlets you're using?
|
|
|
Posts:
7
Registered:
11/11/09
|
|
|
|
Re: "Insufficient memory to continue the execution of the program." Error
Posted:
Nov 17, 2009 3:29 AM
in response to: Andrey Moiseev ...
|
|
|
1.2.2.1254.
|
|
|
Posts:
415
Registered:
9/4/07
|
|
|
|
Re: "Insufficient memory to continue the execution of the program." Error
Posted:
Nov 20, 2009 5:25 AM
in response to: dave_seifert_375
|
|
|
I wasn't able to reproduce this issue in my environment. How many groups and users do you have in your environment?
|
|
|
Posts:
7
Registered:
11/11/09
|
|
|
|
Re: "Insufficient memory to continue the execution of the program." Error
Posted:
Nov 20, 2009 8:30 AM
in response to: Andrey Moiseev ...
|
|
|
We have 1099 groups and 7814 users.
|
|
|
|
Legend
|
|
MVP: 2501
+
pts
|
|
Guru: 2001
- 2500
pts
|
|
Expert: 751
- 2000
pts
|
|
Enthusiast: 31
- 750
pts
|
|
Novice: 0
- 30
pts
|
|
Moderators
|
|
Helpful answer
(5 pts)
|
|
Answered
(10 pts)
|
|