Year: 2018
New-MailboxExportRequest -ContentFilter “”(Received -lt ’01/01/2019′) -and (Received -gt ’01/01/2018′)”” -Mailbox “1234@1234.com” -FilePath “\\server\Pst$\1234@1234.com.pst” -AcceptLargeDataLoss:$true -BadItemLimit “9999”
Year: 2018
New-MailboxExportRequest -ContentFilter “”(Received -lt ’01/01/2019′) -and (Received -gt ’01/01/2018′)”” -Mailbox “1234@1234.com” -FilePath “\\server\Pst$\1234@1234.com.pst” -AcceptLargeDataLoss:$true -BadItemLimit “9999”
Set-MailContact -UseMapiRichTextFormat:Never
Use the Shell to resubmit all messages located in a specific mailbox delivery queue or remote delivery queue
Retry-Queue -Identity “<ServerName>\<Destination>” -Resubmit $true
“You can’t remove organization “xxxxx” because it isn’t active.+ CategoryInfo : InvalidArgument: (:) [Remove-Organization], OrganizationPendingOperationException+ FullyQualifiedErrorId : 6D503EE2,Microsoft.Exchange.Management.Deployment.RemoveOrganization”
Start powershell and run import-module servermanager
Then run
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart
Open Exchange Management Console -> Right Click Organization Configuration -> Click Modify Configuration Domain Controller -> Check Use Default Domain Controller