Archive

Posts Tagged ‘Exchange 2010’

Export Mailbox into a PST from Exchange 2010

March 15, 2017 Leave a comment

Below are the commands required to export mailbox and save in PST format.

# Give permissions to user doing the export

New-ManagementRoleAssignment –Role "Mailbox Import Export" –User Admin

# Create Network Share and give permissions to Exchange Trusted Subsystem read/write

# Start the Mailbox Export

New-MailboxExportRequest -Mailbox first.surname -FilePath \\comp\share

# Start mailbox export with archive

New-MailboxExportRequest -Mailbox first.surname -FilePath \\comp\share -IsArchive

# Check the status of mailbox export request

Get-MailboxExportRequest 

or

Get-MailboxExportRequest | Get-MailboxExportRequestStatistics

# When Mailbox export request has been finished. Remove it

Get-MailboxExportRequest | Where {$_.status -eq "Completed"} | Remove-MailboxExportRequest

-Eric

Advertisements

Invisible Send Connector Exchange 2010

March 9, 2016 Leave a comment

Made a small discovery the other day. Next to the visible Receive and Send Connectors, there are also Invisible Send Connectors available on the Exchange server. The one I found is called Intra-Organization Send Connector, which is used to transport messages within the organisation, between the Hub transport serves, Edge Transport Server and old Exchange servers. It is not visible in the console or when you use Get-SendConnector command.

Here’s the command to configure protocol logging for Intra-Organization Send Connector:

Set-TransportServer “TRANSPORT SERVER NAME” -IntraOrgConnectorProtocolLoggingLevel verbose

-Eric

Exchange ActiveSync Error

March 5, 2016 Leave a comment

Here’s how to fix the Exchange ActiveSync error Event ID: 1053.

Error:
Exchange ActiveSync doesn’t have sufficient permissions to create the "CN=John Doe,OU=Random users,OU=Users,OU=Random OU ,OU=Random Sites,DC=random,DC=com" container under Active Directory user "Active Directory operation failed on DC.random.com. This error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-031521D0, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
".

Make sure that the user has inherited permission granted to domain\Exchange Servers and right to allow List, Create child, Delete child of object type "msExchActiveSyncDevices" and doesn’t have any deny permissions that block such operations.
Details:%3

Fix:

Open the User properties in Active directory and take away the permissions for the object in question and then add it again. This should fix the problem.

Another solution is available on Microsoft Support

-Eric

How to Enable Remote Archiving Using Exchange Management Shell

May 7, 2015 Leave a comment

PowerShell (EMS) command to enable remote archiving after the mailbox has been migrated to Office 365.
Run the following command on your On-premises Exchange 2010 or Exchange 2013 server.

Command:
Enable-RemoteMailbox  -Identity MailboxName –Archive
Example:
Enable-RemoteMailbox  -Identity John.Smith –Archive

 

-Eric