header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
'System.OutOfMemoryException' Error while counting number of Resource Mailboxes
Last Post 30 Aug 2010 12:30 AM by justin82. 0 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
justin82User is Offline
New Member
New Member
Posts:25
Avatar

--
30 Aug 2010 12:30 AM
    Hello All

    I am reposting this in the exchange server forum, as i felt posting in the general disucssion was a wrong thing to do.

    POST Starts from here ******
    I have been using a script which reports mailbox count in our environment on a day-to-day basis. Of late, script fails to send an mail about the latest mailbox count and when i try to execute the script manually from the exchange management shell it reports an error, pasted below:


    Get-Mailbox : Exception of type 'System.OutOfMemoryException' was thrown. At C:\Program Files\Microsoft Identity Integration Server\MaData\report.ps1:4 c har:24 + $Resource = Get-Mailbox <<<< -ResultSize:unlimited | Where {$_.RecipientType Details -eq "RoomMailbox" } + CategoryInfo : NotSpecified: (:) [Get-Mailbox], OutOfMemoryExce ption + FullyQualifiedErrorId : System.OutOfMemoryException,Microsoft.Exchange.M anagement.RecipientTasks.GetMailbox

    WARNING: An unexpected error has occurred and debug information is being generated: Exception of type 'System.OutOfMemoryException' was thrown. Get-User : Exception of type 'System.OutOfMemoryException' was thrown. At C:\Program Files\Microsoft Identity Integration Server\MaData\report.ps1:7 c har:21 + $MailUser = Get-User <<<< -Resultsize:unlimited | Where {$_.RecipientTypeDet ails -eq "MailUser" } + CategoryInfo : NotSpecified: (:) [Get-User], OutOfMemoryExcepti on + FullyQualifiedErrorId : System.OutOfMemoryException,Microsoft.Exchange.M anagement.RecipientTasks.GetUser

    Strangely this script used to work fine since its implementation, it started throwing errors for the last few days. Wondering what wrong, as nothing has been changed. Any suggestions, Folks? Best Regards Justin

     

    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer