Quantcast
Channel: General Exchange Online - Recent Threads
Viewing all articles
Browse latest Browse all 1677

Lost Emails

$
0
0

Hello again all,

 

    I would like to again tank those involved in resolving my previous issue.  The resolution has held and I have written a script to implement these changes to all new rooms created (although I am still curious to what has caused it).

 

    Today I have a new issue involving missing email.  A client has misplaced a large sum of emails (approximately 1 years worth).  His standard practice is to archive all emails received in the previous year into a local (backed-up) archive titled the number for the year.  After moving last years email the previous night, this client claims all emails have suddenly vanished from the 2012 archive.

    In an attempt to assist I found this article:

    

    This article discusses steps that do not appear to be functional in our environment.  Still relatively new to PS, I have run into a few stumbling blocks.  My goal is to be able to utilize the Deleted Item Recovery controls to search for this user's missing year of email.  I am a global admin in this environment and should have no rights issues with any folders.

    Starting with the first command in the instructions:

 

  • Search-Mailbox <user> -SearchDumpsterOnly -SearchQuery <search query> -TargetMailbox "Discovery Search Mailbox" -TargetFolder <search name> -LogLevel Full

 

    When running this command I recieve an error with the Search-Mailbox cmdlet:

 

PS C:\Windows\system32> search-mailbox "XXX"
The term 'search-mailbox' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
At line:1 char:15
+ search-mailbox <<<<  "XXX"
    + CategoryInfo          : ObjectNotFound: (search-mailbox:String) [], Comm
   andNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

 

    Researching a resolution to this issue brought me several results, most indicating that this (or some close variation)  be run:

 

  • Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010

 

   

 Running this command gave me the following error:

Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version
2.
At line:1 char:13
+ Add-PSSnapin <<<<  Microsoft.Exchange.Management.PowerShell.E2010
    + CategoryInfo          : InvalidArgument: (Microsoft.Excha...owerShell.E2
 
  010:String) [Add-PSSnapin], PSArgumentException
    + FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.Ad
   dPSSnapinCommand

 

    This error message to a variety of failed resolutions, all of which mistakes in the setup of the .PS1 file (that I have used previously to modify advanced options on meeting rooms). 

 

    Ignoring these failues and trying to by myself some more time to work on the issue, I decided to increase the amount of time that the mailbox will hold the mail.  I found and ran this series of commands:

 

  • Set-Mailbox "XXX" -RetainDeletedItemsFor 90 -UseDatabaseQuotaDefaults $false

A positional parameter cannot be found that accepts argument '-UseDatabaseQuota
Defaults'.
    + CategoryInfo          : InvalidArgument: (:) [Set-Mailbox], ParameterBin
   dingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Set-Mailbox

 

  • Set-Mailbox "XXX" -RetainDeletedItemsFor 90

 

The operation on mailbox "XXX" failed because it's out of the curre
nt user's write scope. The value of properties 'RetainDeletedItemsFor' exceeds
the maximum allowed for user 'bill.moltenbrey' with license 'BPOS_S_Standard'.
    + CategoryInfo          : NotSpecified: (XXX:ADObjectId) [Set-
   Mailbox], TaskInvalidOperationException
    + FullyQualifiedErrorId : 1B518FA2,Microsoft.Exchange.Management.Recipient
   Tasks.SetMailbox

  

     Currently, this issue is unresolved and I am losing time to address this issue as I have read that the default time for final deletion of items is 14 days. 

    

    Please let me know if I am doing anything wrong or out of order on this process.  Time is at a premium on this issue.

 

Leo D.

 


Viewing all articles
Browse latest Browse all 1677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>