Unable to See Disabled Mailbox in Disconnected Mailboxes console in Exchange 2010, 2007

When user Mailbox is recently disabled, deleted and we are unable to see it in Disconnected mailbox console we have to run a powershell to see it.

For Single Database

Clean-MailboxDatabase -Identity “Database Name”

For All Databases of a server

Get-MailboxDatabase -Server “Mailbox Server Name” | Clean-MailboxDatabase

How to Check mailbox details in MS Exchange 2007, 2010 using powershell

Get-mailbox -Identity “User Dispaly Name or Alias or Email Address”

Result Format Name        Alias        ServerName      ProhibitSendQuota

—-             —–             ———-             —————–

Get-mailbox -Identity “User Dispaly Name or Alias or Email Address” | fl

How to Check Available WhiteSpace on MS Exchange 2010 Database Using Powershell

Get-MailboxDatabase -identity “Database Name”-Status | Select-Object Server,Name,AvailableNewMailboxSpace

Result Format Server                   Name                    AvailableNewMailboxSpace

————————–                       —-                             ————————

How to check Exchange 2007, 2010 Email Queue Status Using Powershell

Get-Queue -Server “Server Name”

Result Format Identity       Delivery         Type          Status            MessageCount NextHopDomain ——–        ————       ——          ————                 ————-

How to check Permission on a mailbox in MS Exchange 2007, 2010 Using Powershell

Get-MailboxPermission -Identity “User Display Name or Alias or Email address”

Result Format Identity            User            AccessRights         IsInherited           Deny ——–               —-               ————                 ———–               —-

How to give permission on user’s mailbox in Exchange 2007,2010 Using Powershell

Add-MailboxPermission -Identity “User Display Name” -User “DomainAlias” -AccessRights FullAccess

————————————————————————————————–

Add-MailboxPermission -Identity “User Display Name” -User “DomainAlias” -AccessRights Editor

—————————————————————————————————

Add-MailboxPermission -Identity “User Display Name” -User “DomainAlias” -AccessRights Author

———————————————————————————————-

Add-MailboxPermission -Identity JeroenC -User ‘Mark Steele’ -AccessRight FullAccess -InheritanceType All -Automapping $false

—————————————————————————————————————-

Add-MailboxPermission -Identity “Tony Smith” -User “Ayla Kol” -AccessRights ReadPermission

How to Enable/Disable Managed Folders in Exchange 2007, 2010 Using Powershell

How to Enable Managed Folders in Exchange 2007, 2010

2010

Set-Mailbox -Identity “DomainAlias” –ManagedFolderMailboxPolicy “Policy Name”        y Start-ManagedFolderAssistant –identity “Alias”

2007

Set-Mailbox -Identity “DomainAlias” –ManagedFolderMailboxPolicy “Policy Name”  Start-ManagedFolderAssistant –Mailbox “DomainAlias”

To Disable Managed Folders In Exchange 2007/2010

Set-Mailbox -Identity “DomainAlias” -ManagedFolderMailboxPolicy:$null

How to Update Mailbox Database Copy on Passive Node In DAG in Exchange 2010

How to Update Mailbox Database Copy on Passive Node In DAG in Exchange 2010

Update-MailboxDatabaseCopy -Identity “DatabaseNamePassiveServerName” -DatabaseOnly

Update-MailboxDatabaseCopy -Identity “DatabaseNamePassiveServerName” -DatabaseOnly-DeleteExistingfiles -SourceServer “SourceServerName”