Wednesday, March 25, 2015

Exporting Exchange 2010 mailbox to PST with Date Range



This could be a great idea to export data for a particular date range in Exchange Server 2010, rather than exporting complete mailbox only for selective data. Sometime as an Exchange Administrator I need to export only selective mailbox item in a time range for keep the data as backup, or one of the user used to do this for create a monthly archive for a particular mailbox. 

Fortunately, Exchange Server 2010 runs PowerShell command New-MailboxExportRequest filters and export data with a date range. Let’s take an example where I’ll export the entire messages in the report mailbox which have been received in January 2015.

New-MailboxExportRequest -ContentFilter {(Received -lt '02/01/2015') -and (Received -gt '12/31/2014')} -Mailbox report -FilePath \\srv-ex2k13mb01\d$\report_Export_January2015.pst

The above scripts will scan and export all the messages in PST file kept in D drive, which have received before February the 2nd and after December the 31th.

However if you want to customize filter in the above PowerShell command, it isn’t over yet. The –ContentFilter parameters takes bunch of filterable properties to export only desired mailbox data in PST form. Let’s take another example-

Rather than specific date range, you can also export all those email which sent to report mailbox from user JohnPlayer. Run the following command-

New-MailboxExportRequest -ContentFilter {ContentFilter {Sender -eq 'johnplayer@info.com'}} -Mailbox report -FilePath \\srv-ex2k13mb01\d$\report_Export.pst

You can also tweak mailbox export command to export only selective items that match with subject line Deals. Run the following command to execute this-

New-MailboxExportRequest -ContentFilter {ContentFilter {Subject -like *Deals*}} -Mailbox report -FilePath \\srv-ex2k13mb01\d$\report_Export.pst

If you want to export all the messages which sent between a date range, run this exchange cmdlets-

New-MailboxExportRequest -ContentFilter {(Sent -lt '02/01/2014') -and (Sent -gt '12/31/2014')} -Mailbox report -FilePath \\szhex04\d$\report_Send_Export_data_Dec2013.pst

Unfortunately, there is no GUI option available in Exchange Server 2010 for export user’s mailbox data to .pst between certain dates. But the good thing is that you can use cmdlets to export selective data from the mailbox.  

Yet, -ContentFilter parameters has many other filterable properties which you can see here and use them accordingly.

Now as you know there is no GUI option for customize export, therefore Stellar has built a must have software which accomplish this limitations. Stellar EDB to PST converter is the unique software of its kind. You can download this software here, and use it for export mailboxes data into PST form single EDB file on the basis of selective data range, 'From', 'To', 'Cc', 'Subject', 'Importance', 'Body', 'Attachment Name'  and 'Item Type'.

Thursday, March 12, 2015

How to fix Exchange Error: 1022 which restricts data access

Most of the organizations, especially the larger ones configure Microsoft Exchange Server as the primary communication medium between e-mail clients. And MS Outlook is among the most popular and preferred e-mail client for organizational business purpose.

This perfect collaboration of Exchange Server and Outlook helps an organization to maintain the smooth exchange of data and information among the huge numbers of employees. However, like any other application Exchange Server also face some technical problems. These problems may be due to virus attack, improper closure of the system or server, or may be due to configuration error.

While working with live Exchange Server you might come across many types of error messages. These error messages may be generated not only because of corruption but also due to wrong operating of Server as well. To make out the exact reason in Exchange Server, let us consider the following scenario:

Suppose that you just start Exchange Server to operate and tries to access the data.  But eventually you will face restrictions in operating the MS Exchange server with following error messages:

Event ID: 482
Source: ESE
Version: 6.5.000.0
Message: %1 (%2) %3An attempt to write to the file “%4” at offset %5 for %6 bytes failed after %10 seconds with system error %8: “%9″. The write operation will fail with error -1022

Symptoms of error 1022: When you encounter the above error messages, you will experience a kind of interruption or halt in between the smooth operation of Exchange Server. Moreover, you might face difficulty in accessibility of data and information across Exchange Server which compels you to do EDB recovery.

Main cause of MS Exchange error 1022: The most possible reason behind the occurrence of error message depicts the I/O disk problem which makes the Exchange Server difficult to operate. Due to stoppage of Exchange Server functionality, users may also face inconvenience in accessing the database.

The error 1022 along with Disk I/O problem occurs due to two possible following reasons:

        a)   When the data present within the Exchange Server is totally damaged.
        b)   When some part of the data is found missing from Exchange Server.

To deal in such a situation, there are numbers of EDB recovery software available online for repair and recover Exchange server database.

One such third party utility is Stellar Phoenix Mailbox Exchange Recovery that very efficiently repairs the damaged EDB files and safely recovers into corresponding PST file. Moreover it is supportive to latest MS Exchange 2013 version with multiple saving formats like PST, MSG, EML, HTML, RTF, PDF etc. 

Methods to fix Exchange Server Disk space problems

Of course ‘Bigger is better’ in various cases and it is also very true in case of Exchange Server. Even though with the massive availability of multi-terabyte hard disks, the MS Exchange Server can use huge amount of disk spaces. Otherwise, the flow of email exchange between two email clients may be severely delayed.

Thursday, February 26, 2015

How to work/deal with disconnected mailboxes in Exchange Server 2013

An Exchange mailbox is a composition of a Directory user account and mailbox data stored in the Exchange mailbox database. The Exchange attributes of Active Directory user object stores all configuration data for a mailbox. The database of mailbox contains the mail data that’s in the mailbox associated with the user account.

Tuesday, February 24, 2015

Right approach to perform Exchange Server (on premises) to Office 365 migration

The process of mailboxes migration from MS Exchange to Office 365 seems to be a very simple and easy task when you know about the complete migration process. Still you may face certain problems or technical glitches while performing the migration process between Exchange servers.