To check if POP3 proxy enable: (Get-ServerComponentState -Identity "Server_Name" -Component PopProxy).LocalStates If you don’t get state=Active then start it : Set-ServerComponentState -Identity "Server_Name" -component PopProxy -state Active -requester HealthAPI
Day: December 11, 2016
Force mount of database copy with failed stateForce mount of database copy with failed state
Some time you need to forcefully move and activate the passive database in a DAG environment . You can do it with all the “skip..” checks : Move-ActiveMailboxDatabase -Identity
How to Export Mailbox size exchange serverHow to Export Mailbox size exchange server
Open Exchange Powershell : Get-MailboxStatistics -Database "Mailbox Database" | Select-object PrimarySmtpAddress, DisplayName, ItemCount, TotalItemSize | Sort-Object TotalItemSize -Descending | Export-CSV C:\MBSizes.csv
Check And Remove Mailbox From Quarantine exchange 2016Check And Remove Mailbox From Quarantine exchange 2016
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 :
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