TechShizz | All posts tagged 'Exchange 2010'

Import/Export Mailboxes/Archiving

  • It is possible to export only one mailbox at a time, though mailboxes can be exported Sequentially. When you use Export-Mailbox, both the source mailbox and the destination mailbox are in the same Active Directory forest.
  •  Importing and exporting data requires a 64-bit computer that has both Exchange Server 2010 management tools installed and the 64-bit Microsoft Outlook 2010 client installed.
  • Import-Mailbox cannot be used to import data to a mailbox hosted on previous Versions of Exchange Server.
  • It is not possible to import mailbox or PST data to a public folder or a public folder database.

 

You can perform a selective export using the RecipientKeywords, SenderKeywords,

SubjectKeyworks, StartDate, and EndDate parameters. When you use the Export-Mailbox

cmdlet with the DeleteContent parameter but do not specify a target mailbox, you are able to

delete specific messages in targeted mailboxes. This allows you to selectively delete messages

across a number of targeted mailboxes. For example, if you wanted to remove a message

that was sent to a large number of users who had mailboxes hosted on mailbox database MBX-

DB-ONE called “Christmas Party Photos,” which was sent by Kim Akers, you could use

the following command:

 

Get-Mailbox –Database MBX-DB-ONE | Export-Mailbox –SubjectKeyWords "Christmas Party

Photos" –SenderKeyWorks "Kim Akers" -DeleteContent

 

Export-Mailbox -Identity john@contoso.com -PSTFolderPath C:\PSTFiles\john.pst

 

 

Archiving

 

 

EMC:

 

Enable-Mailbox "Rich Haddock" -Archive

 

Disable-Mailbox "Rich Haddock" -Archive


Installing Exchange 2010

Good online install guide:

http://blogs.technet.com/b/ferris/archive/2010/03/05/howto-install-exchange-2010-step-by-step.aspx

 

Prerequisites

 

User installing Exchange must be member of 

 

Enterprise Admins

Domain Admins

Schema Admins

Local Admin on the Exchange Server

 

 

===================

Install .NET 3.5 on DC.

 

Server must be in domain.

On the DC that holds the Schema Master role, insert the Exchange ISO and run setup from CLI:

 

Setup /PrepareSchema

 

Setup /PrepareAD /OrganizationName:Lab

 

Setup /PrepareDomain  -  OR setup /PrepareAllDomains

 

(This can be done from any domain member machine, but it's best practice to do this locally on the DC)

 

Then:

==========================

On the Exchange server to be:

==========================

Install the Filter Pack

 

Download Filter Pack


Install a filter pack on any server that will be a hub transport or mailbox server.

 

PowerShell Command:

 

import server manager module:

 

Import-Module ServerManager

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

 

 

Then:

 

Restart the Exchange server and run Power Shell command:

 

Import-Module ServerManager

Set-Service -Name NetTcpPortSharing -StartupType Automatic

 

 Then:

=======================

Install Exchange from the CD

=======================

Upgrading Exchange 2010 to SP2 or SP3

There is no need to install SP2 before SP3. You can go right up to SP3 from a bare install of Exchange 2010.
Here is the process to follow:

Download latest service pack: Download Here

Prerequisites:
Ensure that Windows Update on the server has applied all important updates. You can speed this up in the lab environment by installing Windows Server 2008 SP1. The installtion of Exchange 2010 will fail without required updates from Microsoft.
  1. Full Back up of the Exchange Server
  2. Install IIS WMI Compatibility component
  3. Install on one exchange server at a time.
  4. Run the install file