24 C
Dubai
Friday, May 9, 2025
Home Blog Page 94

How to View Bulk Mailbox Import or Bulk Mailbox Export Statistics in Exchange 2010 & 2013

Once you initiate a bulk import or Export in Exchange 2013

Exchange administration Center starts alerting you the status of the import requests. Which is Good.

image

 

Commands to Bulk Import

$Import = Get-Mailbox

$Import|%{$_|New-MailboxExportRequest –FilePath “\\ServerName\pst\$($_.primarysmtpaddress).pst”}

 

Now if I want to view the queue. How ? . There is a parameter called –RequestQueue  , That should help us.

if you run the below command below , It should get us the Percent Complete in bulk.

Open Exchange management Shell , Run below command

Get-MailboxImportRequestStatistics -RequestQueue “Mailbox database”

image

 

 

Its just a little info. But Its good to know.

How to Export Mailboxes into CSV file in Mdaemon Mail Server and Import into Exchange 2013

For those who don’t know about Mdaemon Mail Server

“MDaemon, developed by Alt-N Technologies, is a multi-language SMTP/POP3 Windows-based mail server software with web mail, remote administration, secure Instant Messenger (IM), and Anti-spam techniques security. MDaemon mail server software provides groupware features via integration with Microsoft Outlook (using Outlook Connector for MDaemon) “

Let us see how to export Mdaemon mailboxes in to CSV file.

Step 1:

Login to Mdaemon Mail Server

Start – Run – MDaemon – Start Mdaemon

image

 

Step 2:

Accounts – Exporting – Export accounts to a comma delimited file..

image

Step 3:

Open the CSV file in Excel , Remove all the Columns , Except Below ,

Replace

Email,MailBox,Domain,FullName,

Add a Column with First Name,Last Name , Display Name

image

Now you Excel Sheet Would Look like this.

Step 4:

Created a OU(Organizational Unit) called Employees

image

Step :5

Saved the new file as Sorted.csv

Giving a manual Password as usually people use small passwords in Mdaemon.

Remove –Whatif in the end of the Command so that It will create mailboxes.

Have “-WhatIf” added so that you can sort out the errors first. before executing the command in the first place

Import-CSV "sorted.csv" | foreach {new-mailbox -Name $_.displayname -Alias $_.mailbox -FirstName $_.firstname -LastName $_.lastname -UserPrincipalName $_.email -Database "Mailbox database" -OrganizationalUnit "Employees" -password (ConvertTo-SecureString "Password@12" -AsPlainText -force) -primarySmtpaddress $_.email -Whatif} 

Now accounts have been Migrated Successfully,

And Mailbox data have been migrated via PST (Mdaemon was installed on Windows 2000 Server)

How to restore Exchange 2010 database using Data Protection Manager 2012

lets see how to restore a Exchange 2010 database from backup using Data Protection Manager 2012 and restore mailbox content

Scenario – One specific user deletes a set of mails which crosses the retention period (Default retention is 14 days) and he wants to restore it

image

Step 1 :

Create recovery database in exchange 2010

Login to Exchange server , Open Exchange Management shell

New-MailboxDatabase -Recovery -Name RecoverDB –Server "MailboxServerName"

image

Step 2 :

Find the database information of the user you want to restore

Get-mailbox "Mailboxalias" | fl Name,Database,ServerName

image

Step 3:

Choose Recovery bottom Left

Choose the right Server / Database

Choose the time you want to recover

Choose Recover on the top Left

image

Step 4:

Choose next verifying the information

image

Step 5:

Choose Recover Mailbox to an Exchange Server Database

image

Step 6:

Choose browse and choose the right server information

Choose the Recovery Database Name

Note : Only Recovery Database can be entered

image

Step 6:

Choose next

If you want to the Choose the email option , you can

image

Step 7:

Choose Recover

image

image

Step 7:

Now RecoverDB is mounted by DPM 2012

image

To Merge a Specified Mailbox –

Restore-Mailbox -Identity Tarun -RecoveryDatabase RecoverDB

image

To get the content in another mailbox –

Tarun’s mailbox content into Admin’s mailbox under the Recovery folder

Restore-Mailbox -Identity Admin -RecoveryDatabase RecoverDB -RecoveryMailbox Tarun -TargetFolder Recovery
image

How to Configure Backup for Exchange 2010 using Data Protection Manager 2012

Lets see how to backup Exchange 2010 Servers  using Microsoft System Center Data Protection Manager 2012

Note : Database Availability Group (DAG) members included

Step 1 :

Launch System Center 2013 DPM Administrator Console

Note : In this below picture DPM is configured already, let us see how to configure it

image

Step 2 :

Choose New in the System Center 2013 DPM Administrator Console

image

Step 3 :

Choose Servers

image

Step 4 :

Choose the Members of Servers you want to protect (backup)

image

Step 5 :

You can give a friendly name

image

Step 6 :

Skipping it.

Disk Based protection in my scenario

image

Step 7 :

Choose the database you want to do a full backup or Copy Backup

image

Step 8 :

Choose the retention range – Default Value is 14 days

-Choose Recovery point timings if required

-Choose express full backup timings

-Choose View members to verify the supportability

image

Step 9 :

If you plan to run a consistency check , by default it shows as 480 hours.

make sure it does not run in production hours. which will consume a bit of CPU and disk resources

image

Step 9 :

image

 

Now your Data Protection Manager 2012 is ready to backup your Exchange servers Everyday !

Database Availability Group in Exchange 2013

Everyone is aware that Exchange 2010 DAG is a successful implementation, lets see about some of the new features available in Exchange 2013 Database Availability Group (DAG)

image

 

We will get to know about the 5 important features introduced in Exchange 2013

1.Multiple databases per disk 

2.AutoReseed configuration

3.Safety Net feature – Activating a lagged copy with no data loss

4.DAG network auto-configuration

5. Site resilience – Having Mail.domain.com with 2 or more IP address

 

Multiple databases per disk

Exchange 2013 includes support of multiple databases on the same disk, as there is much more reduction IOPS in terms of disk usage.

How it is achieved ?

Exchange 2010 – Check point depth = 5 mb , where passive copies where more aggressive in pre reading operations , results in higher IOPS

Exchange 2013 – Check point depth = 100mb, where passive copies remain less aggressive , gives more room to the disk in processing more operations

 

AutoReseed configuration

In scenarios like disk corruption, disk failure, Database corruption , manual intervention was needed immediately in order to fix the failed copies, but Exchange 2013 as a option of AutoReseed configuration

which can automatically restore databases after a disk failure by using spare disks that have been provisioned already in the system.

How it is achieved ?

Pre-mapping a set of volumes and databases using mount points. while disk failure happens or disk is no longer available to the operating system,the allocated spare volume is used by the system, and the affected database copies are reseeded automatically and gets to a status of healthy back again , giving a span of time to the administration to replace the faulty disks

Good to know –

AutoDagVolumesRootFolderPath property refers to the mount point that contains all of the available volume

AutoDagDatabasesRootFolderPath property refers to the mount point that contains the databases

AutoDagDatabaseCopiesPerVolume, is used to configure the number of database copies per volume

 

Safety Net feature – Activating a lagged copy with no data loss

lets say you have a lagged copy that has a 1-day of replay lag. In that case, you would configure Safety Net for a period of 1 days , Activating the lagged copy you have an option to receives those one day of email again. preventing data loss

How it is achieved ?

Safety Net is similar to transport dumpster , once you configure safety net for 1 day , The copy of the delivered message is already stored in Safety Net, so shadow redundancy can redeliver the message from Safety Net if necessary

Once you mount a lagged copy, which triggers an automatic request to Safety Net to redeliver the last  days of mail. which prevents a lot of stress for admin. searching for the lost email

 

DAG network auto-configuration

DAG networks are now automatically managed by the system. where MAPI and replication networks are configured automatically

Good to know –

How to change it to manual ?

Set-DatabaseAvailabilityGroup cmdlet to set the ManualDagNetworkConfiguration parameter to True.

 

Site resilience – Having Mail.domain.com with 2 or more IP address

Although Exchange 2013 continues to use DAGs and Windows Failover Clustering for Mailbox server role high availability

We can have the Client Access FQDN assigned with two or more IP’s , where if one ip fails to reach , the other site IP picks up to restore connectivity

eliminating the manual process like previous versions

 

Hope the article is informative !

Exchange 2010 Sp3 and Exchange 2007 Sp3 Rollup 10 is Released Finally !

Great !! Exchange 2010 Sp3 is released.

Download Exchange 2010 Sp3

Download Exchange 2007 Sp3 Ru10

what’s so special in this Release ? Why so many are waiting for ?

All the news were – Upgrading to Exchange 2010 Sp3 And Exchange 2007 Sp3 Ru10 will help setting up coexistence with Exchange 2013. And you can start Migrating mailboxes to 2013 .

But The first cumulative update (CU) for Exchange 2013 is also necessary for coexistence between Exchange 2010 SP3 and Exchange 2013.

 

Still ,It’s worth waiting as so many important bugs have been fixed in Exchange 2010 Sp3 .

 

List of Bug Fixes in Exchange 2010 Sp3

2552121 You cannot synchronize a mailbox by using an Exchange ActiveSync device in an Exchange Server 2010 environment

2729444 Mailboxes are quarantined after you install the Exchange Server 2010 SP2 version of the Exchange Server 2010 Management Pack

2778100 Long delay in receiving email messages by using Outlook in an Exchange Server 2010 environment

2779351 SCOM alert when the Test-PowerShellConnectivity cmdlet is executed in an Exchange Server 2010 organization

2784569 Slow performance when you search a GAL by using an EAS device in an Exchange Server 2010 environment

2796950 Microsoft.Exchange.Monitoring.exe process consumes excessive CPU resources when a SCOM server monitors Exchange Server 2010 Client Access servers

2800133 W3wp.exe process consumes excessive CPU and memory resources on an Exchange Client Access server after you apply Update Rollup 5 version 2 for Exchange Server 2010 SP2

2800346 Outlook freezes and high network load occurs when you apply retention policies to a mailbox in a mixed Exchange Server 2010 SP2 environment

2810617 Can’t install Exchange Server 2010 SP3 when you define a Windows PowerShell script execution policy in Group Policy

2787500 Declined meeting request is added back to your calendar after a delegate opens the request by using Outlook 2010

2797529 Email message delivery is delayed on a Blackberry mobile device after you install Update Rollup 4 for Exchange Server 2010 SP2

2800080 ErrorServerBusy response code when you synchronize an EWS-based application to a mailbox in an Exchange Server 2010 environment

image

× How can I help you?