Posted On June 26, 2019

MS Exchange 2010: Mailbox Repair

kimconnect 0 comments
blog.KimConnect.com >> Windows >> MS Exchange 2010: Mailbox Repair

PowerShell snippet to initiate repair

# set user alias or email addresses here:
$userAliases="user1","user2"

foreach ($user in $userAliases){
New-MailboxRepairRequest -Mailbox $user -CorruptionType ProvisionedFolder,SearchFolder,AggregateCounts,Folderview
}

PowerShell command to monitor progress:

# This command doesn't work
# Get-MailboxRepairRequest -Mailbox $userAlias | Format-List

Use Event Viewer to monitor progress:

Eventvwr.exe > Action > Create Custom View > select “By Source > select “MSExchangeIS Mailbox Store” > Event IDs = 10044,10045,01146,10047,10048,10049,10050,10051,10059,10062 > OK

Give this Custom View a name such as “Get-MailboxRepairRequest” > OK

Navigate to Event Viewer > Custom Views > click on Get-MailboxRepairRequest > check for Event ID 10048 to signify a successful completion of a mailbox repair job

Events IDs:

  • 10047 A mailbox-level repair request started
  • 10064 A Public Folder repair request started
  • 10048 The repair request successfully completed
  • 10050 The mailbox repair request task skipped a mailbox
  • 10059 A database-level repair request started
  • 10062 Corruption was detected

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Enable TLS 1.2 on Windows

function enableTls12{ try{ $null=New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server' -Force $null=New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client' -Force $null=New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server'…

How To Fix History Disabled in Task Scheduler

Issue: When checking certain tasks, one may find that the 'History' tab is appended with…

Quick Command To Get Windows Version

To Get Windows Version as String: (Get-WmiObject -class Win32_OperatingSystem).Caption [deesee1]: PS C:\Users\kimconnect> (Get-WmiObject -class Win32_OperatingSystem).CaptionMicrosoft…
Other project: DragonCoin.com