To check all server: Get-Mailbox | Get-MailboxStatistics | Where {$_.IsQuarantined –eq $True} Single : Get-MailboxStatistics "User_Name" | fl IsQuarantined Release : Disable-MailboxQuarantine"User_Name" Delete regkey : HKLM\SYSTEM\CurrentControlSet\Services\MSExchangeIS\<ServerName>\Private-{dbguid}\QuarantinedMailboxes\{mailbox guid} Fix mailbox :
Author: admin
How to Balance Exchange Database by Activation PreferenceHow to Balance Exchange Database by Activation Preference
Open Exchange Powershell: cd "C:\Program Files\Microsoft\Exchange Server\V14\Scripts" To check db state: .\RedistributeActiveDatabases.ps1 -DagName "Your_DAG_Name" -ShowDatabaseDistributionByServer | ft To Re-balance DB : .\RedistributeActiveDatabases.ps1 -DagName "Your_DAG_Name" -BalanceDbsByActivationPreference
How to repair mailbox on exchange serverHow to repair mailbox on exchange server
Example 1: New-MailboxRepairRequest -Mailbox tony@contoso.com -CorruptionType FolderView Example 2: This example only detects and reports on ProvisionedFolder and SearchFolder corruption issues to Ayla Kol’s mailbox. This command doesn’t
How to import users into exchange with a Powershell scriptHow to import users into exchange with a Powershell script
Download the files to a folder of you choice and edit in the ps1 script the location of the CSV file, Update accordingly the CSV file : import_users enter the
How to force mount exchange databaseHow to force mount exchange database
Open exchange Powershell : Mount-Database -identity "Your_Database_Name" -Force
How to find exchange database with Circular LoggingHow to find exchange database with Circular Logging
show database with Circular Logging : Get-MailboxDatabase | where {$_.CircularLoggingEnabled -eq $true} | out-gridview Without : Get-MailboxDatabase | where {$_.CircularLoggingEnabled -eq $false} | out-gridview
How to create disk space alert by emailHow to create disk space alert by email
Download the file and extract to folder of your choice DiskSpaceAlert configure the variables in the SendMail.ini : smtp server and it’s credentials , From Address,To Address , Subject, Body
How to delete emails from exchange profilesHow to delete emails from exchange profiles
As Admin you can delete specific wrongly send emails from your users mailbox : Open Exchange Powershell , To delete from user@example.com email with the subject “Mail delivery failed: returning
How to change exchange Preferred Server For DBHow to change exchange Preferred Server For DB
Open exchange Powershell Set-MailboxDatabaseCopy -identity {Database_Name\New_Server_Name} -ActivationPreference 1 Confirm: Get-MailboxDatabase 'Database_Name'|fl server, databaseCopies, activationPreference
How to delete exchange log fileHow to delete exchange log file
If you need to delete exchange log file in case of space problem or some other reason, Best do it safely -> open Powershell as Administrator and run : forfiles