<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SysAdmin Talk &#187; Outlook</title>
	<atom:link href="http://sysadmin-talk.org/category/outlook/feed/" rel="self" type="application/rss+xml" />
	<link>http://sysadmin-talk.org</link>
	<description>Practical advice from front-line SysAdmins</description>
	<lastBuildDate>Tue, 08 May 2012 18:01:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Importing the Remote PSTs into Exchange 2010</title>
		<link>http://sysadmin-talk.org/2010/09/importing-psts-into-exchange-2010/</link>
		<comments>http://sysadmin-talk.org/2010/09/importing-psts-into-exchange-2010/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 15:45:33 +0000</pubDate>
		<dc:creator>James Allison</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[IT Professional]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[PST Files]]></category>
		<category><![CDATA[PST Importer]]></category>
		<category><![CDATA[PST Importing]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[messages]]></category>
		<category><![CDATA[PST]]></category>

		<guid isPermaLink="false">http://sysadmin-talk.org/?p=547</guid>
		<description><![CDATA[In the previous part of this guide we looked at gaining a list of PST files and machines. In this, the final part of this series, we will look at how to import these into Exchange 2010. The following script does just that: # Read in pst file locations and users $strPSTFiles = Get-Content -Path "c:\pstdetails.csv" [...]]]></description>
			<content:encoded><![CDATA[<p>In the <a title="Finding PST Files on the Network" href="http://sysadmin-talk.org/2010/08/finding-pst-files-on-the-network-the-manual-way/" target="_self">previous part of this guide </a>we looked at gaining a list of PST files and machines. In this, the final part of this series, we will look at how to import these into Exchange 2010.<span id="more-547"></span></p>
<p>The following script does just that:</p>
<p><code># Read in pst file locations and users<br />
$strPSTFiles = Get-Content -Path "c:\pstdetails.csv"<br />
foreach($strPSTFile in $strPSTFiles)<br />
{</code><br />
<code>$strMachine = $strPSTFile.Split(',')[0]<br />
$strPath = $strPSTFile.Split(',')[1]<br />
$strOwner = $strPSTFile.Split(',')[2]</code></p>
<p><code># Get network path for pst file<br />
$source = "\\" + $strMachine + "\" + $strPath.Replace(':','$')</code></p>
<p><code># import pst to mail box.<br />
<span style="background-color: #ffff66;">Import-Mailbox -PSTFolderPath $source -Identity $strOwner</span><br />
<span style="background-color: #ff6666;">New-MailboxImportRequest -FilePath $source -Mailbox $strOwner</span><br />
}</code></p>
<p>The yellow highlighted text shows the Exchange 2010 RTM cmdlet, the red the Exchange 2010 SP1. Delete the unneeded version as appropriate.</p>
<p>The Exchange 2010 SP1 version of the script will execute in far less time, due to the asynchronous nature of the ImportRequest cmdlet. These requests are processed in the background and can be monitored with the Get-MailboxImportRequest cmdlet to observe their status.</p>
<p>There are quite a few potential pitfalls here:</p>
<ol>
<li>The user’s machine must be on.</li>
<li>File sharing must be on, to allow for the file to be transferred.</li>
<li>Outlook must not be running on the remote user’s machine. If Outlook is running and has the PST file attached, the file will be locked and unable to be imported.</li>
<li>The PowerShell cmdlet used by Exchange to import PST files does not support passwords.</li>
</ol>
<p>There are various things you could to augment this script.Some suggestions include:</p>
<ul>
<li> Have WMI shut down Outlook on a remote user’s machine before attempting import http://www.computerperformance.co.uk/vbscript/wmi_process.htm</li>
<li>It could be useful to generate a further file detailing a list of all the PSTs which failed to import, with the reason. These files could have been password protected, or the machine hosting them may have been shut down, or become disconnected since they were identified.</li>
</ul>
<p>I hope you have found this series of articles on manually importing PST files into Exchange 2010 useful. Although, like me, I&#8217;m sure you feel that this is a bit of a mammoth task, particularly for the Powershell novice!</p>
<blockquote><p>To automatically import PST files into Exchange 2010 without Powershell visit:<br />
<a title="PST Importer 2010 - Automatically import PSTs into Exchange 2010" href="http://www.red-gate.com/products/pst_importer_2010/?utm_source=sysadmintalk" target="_blank">www.red-gate.com/products/pst_importer_2010</a>. Here you can find out more information on PST Importer 2010 and download a free 14 day trial.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://sysadmin-talk.org/2010/09/importing-psts-into-exchange-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding PST Files on the Network – The Manual Way</title>
		<link>http://sysadmin-talk.org/2010/08/finding-pst-files-on-the-network-the-manual-way/</link>
		<comments>http://sysadmin-talk.org/2010/08/finding-pst-files-on-the-network-the-manual-way/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 13:54:43 +0000</pubDate>
		<dc:creator>James Allison</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[IT Professional]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[PST Files]]></category>
		<category><![CDATA[PST Importer]]></category>
		<category><![CDATA[PST Importing]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[messages]]></category>
		<category><![CDATA[PST]]></category>

		<guid isPermaLink="false">http://sysadmin-talk.org/?p=506</guid>
		<description><![CDATA[In the last part of this guide the process for importing a local PST file into exchange server was shown. However, in reality it is likely that these PST files are scattered liberally around your network on the hard drives of your users machines as a result of Outlooks personal archiving. Ideally – so that [...]]]></description>
			<content:encoded><![CDATA[<p>In the <a title="How to Import PST Files into Exchange 2010" href="http://sysadmin-talk.org/2010/08/how-to-import-pst-files-into-exchange-2010-the-manual-way/" target="_self">last part of this guide</a> the process for importing a local PST file into exchange server was shown. However, in reality it is likely that these PST files are scattered liberally around your network on the hard drives of your users machines as a result of Outlooks personal archiving. Ideally – so that this process is transparent to your users, you’d like some way of finding all these PST files – pairing them up with their users, and importing them into the appropriate mailbox. Here I show you how.<span id="more-506"></span></p>
<p>To start this, we  can query Active Directory for a list of all the machines attached to your domain. We can then use Windows Management Instrumentation (WMI) to search each of these machines for PST files. The file paths for these PSTs should hopefully give a clue as to which user they belong to, as they will be created in a directory path containing the username by default. We can also grab the file owner file attribute which should correlate with the file path.</p>
<p>This technique requires that all the machines in your network are switched on and accessible by WMI. A list of the machines which could not be queried can be provided as output</p>
<p><strong>Notes about WMI:</strong></p>
<p>By default WMI is blocked by the windows firewall in Windows 7 and 2008 R2. You’ll need to open up the ports on all your users’ machines. This can be done with the ‘netsh’ command, or through a change to group policy.</p>
<p>What are the implications of this? WMI is a powerful beast, and allows remote access to many aspects of a user’s machine. As such it could be considered a security vulnerability&#8230; It’s typically accessed though port 135. This not only permits access to WMI – but also any other DCOM components which may be installed on a machine, open for exploitation by Trojans and the like. Needless to say, the ports are blocked by default for a reason – so require careful consideration of the implications when opening. WMI will also not help you if the machines you wish to tinker with are subject to NAT (Network Address Translation). You’ll be unable to reach these machines. The following script generates a txt file (the filename defined on line 2) of all the computers on your domain to be searched. This can then be edited with notepad to remove those you don’t wish to search.</p>
<p style="padding-left: 60px;"><code>$strCategory = "computer"<br />
$strOutput = "c:\computernames.txt"<br />
$objDomain = New-Object System.DirectoryServices.DirectoryEntry</code></p>
<p style="padding-left: 60px;"><code>$objSearcher = New-Object System.DirectoryServices.DirectorySearcher<br />
$objSearcher.SearchRoot = $objDomain<br />
$objSearcher.Filter = ("(objectCategory=$strCategory)")</code></p>
<p style="padding-left: 60px;"><code>$colProplist = "name"<br />
foreach ($i in $colPropList){$objSearcher.PropertiesToLoad.Add($i)}</code></p>
<p style="padding-left: 60px;"><code>$colResults = $objSearcher.FindAll()<br />
[bool]$firstOutput = $true<br />
foreach ($objResult in $colResults)<br />
{<br />
$objComputer = $objResult.Properties;<br />
if($firstOutput)<br />
{<br />
Write-output $objComputer.name | Out-File -filepath $strOutput<br />
$firstOutput = $false;<br />
}<br />
else<br />
{<br />
Write-output $objComputer.name | Out-File -filepath $strOutput `<br />
-append<br />
}<br />
}</code></p>
<p>The next script will generate a CSV (Comma separated values) detailing the network paths of the PSTS you need.</p>
<p style="padding-left: 60px;"><code>$strComputers = Get-Content -Path "c:\computernames.txt"<br />
[bool]$firstOutput = $true<br />
foreach($strComputer in $strComputers)<br />
{<br />
$colFiles = Get-Wmiobject -namespace "root\CIMV2" `<br />
-computername $strComputer `<br />
-Query "Select * from CIM_DataFile `<br />
Where Extension = 'pst'"<br />
foreach ($objFile in $colFiles)<br />
{<br />
if($objFile.FileName -ne $null)<br />
{<br />
$filepath = $objFile.Drive + $objFile.Path + $objFile.FileName + "." `<br />
+ $objFile.Extension;<br />
$query = "ASSOCIATORS OF {Win32_LogicalFileSecuritySetting='" `<br />
+ $filepath `<br />
+ "'} WHERE AssocClass=Win32_LogicalFileOwner ResultRole=Owner"<br />
$colOwners = Get-Wmiobject -namespace "root\CIMV2" `<br />
-computername $strComputer `<br />
-Query $query<br />
$objOwner = $colOwners[0]<br />
$user = $objOwner.ReferencedDomainName + "\" + $objOwner.AccountName<br />
$output = $strComputer + "," + $filepath + "," + $user<br />
if($firstOutput)<br />
{<br />
Write-output $output | Out-File -filepath c:\pstdetails.csv<br />
$firstOutput = $false<br />
}<br />
else<br />
{<br />
Write-output $output | Out-File -filepath c:\pstdetails.csv -append<br />
}<br />
}<br />
}<br />
}</code></p>
<p>This script will take as input a text file containing a list of machine names (conveniently the output of the first script), and will generate a csv file of all the pst files found on those machines, and the owners associated with them.</p>
<blockquote><p>Find PST files across your network quickly and easily with PST Importer 2010. To find out more and to download a free 14 day trial please visit:<br />
<a title="PST Importer 2010 - Automatically import PSTs into Exchange 2010" href="http://www.red-gate.com/products/pst_importer_2010/?utm_source=sysadmintalk" target="_blank">www.red-gate.com/products/pst_importer_2010</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://sysadmin-talk.org/2010/08/finding-pst-files-on-the-network-the-manual-way/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to Import PST Files into Exchange 2010 &#8211; the Manual Way</title>
		<link>http://sysadmin-talk.org/2010/08/how-to-import-pst-files-into-exchange-2010-the-manual-way/</link>
		<comments>http://sysadmin-talk.org/2010/08/how-to-import-pst-files-into-exchange-2010-the-manual-way/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 14:05:55 +0000</pubDate>
		<dc:creator>James Allison</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[IT Professional]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[PST Files]]></category>
		<category><![CDATA[PST Importer]]></category>
		<category><![CDATA[PST Importing]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[cmdlet]]></category>
		<category><![CDATA[PST]]></category>
		<category><![CDATA[PST Migration]]></category>

		<guid isPermaLink="false">http://sysadmin-talk.org/?p=492</guid>
		<description><![CDATA[Importing a PST file into Exchange 2010 requires the use of the Exchange Management Shell (EMS) and lots of Powershell scripts and cmdlets. here I go through how to get started. You can watch a video on this too! A PowerShell cmdlet in the EMS is used to perform the action. Use of this cmdlet [...]]]></description>
			<content:encoded><![CDATA[<p>Importing a PST file into Exchange 2010 requires the use of the Exchange Management Shell (EMS) and lots of Powershell scripts and cmdlets. here I go through how to get started. You can watch a <a title="Video: How to Import PST Files into Exchange 2010 Part 1" href="http://sysadmin-talk.org/2010/10/video-how-to-import-pst-files-into-exchange-2010-part-1-of-3/" target="_self">video</a> on this too!<span id="more-492"></span></p>
<p>A PowerShell cmdlet in the EMS is used to perform the action. Use of this cmdlet requires that the current user has Import Export mailbox roles on their profile. Exchange 2010 RTM also requires that Outlook 2010 x64 is installed on the machine. This is no longer a requirement of Exchange 2010 SP1.</p>
<p>So, to import a single PST file into an Exchange 2010 mailbox:</p>
<ul>
<li>Install Outlook 2010 64-bit on the Exchange Server. By default, on a machine with no pre-existing Office installation, the 32-bit applications will install from the DVD’s autorun setup. Be sure to manually run the install from the x64 directory to install 64-bit Outlook. This step is not necessary for Exchange 2010 SP1, as this includes a MAPI provider.</li>
<li>Enable import permissions for a security group your user belongs to (in this case ‘Mailbox Support’) with the command:<code><code>New-ManagementRoleAssignment -Name "Import Export Mailbox Admins" `<br />
-SecurityGroup "Mailbox Support" `<br />
-Role "Mailbox Import Export"<br />
</code></code></li>
<li>Import the PST file into the appropriate user’s mailbox with the following command:<code>Import-Mailbox -PSTFolderPath pstfilepath -Identity exchangealias</code> </li>
</ul>
<p>Exchange 2010 SP1 differs a little in that you don’t need to install Outlook 2010 x64, and rather than the synchronous ‘Import-Mailbox’ cmdlet, the asynchronous ‘New MailBoxImportRequest’ can be used.</p>
<p>This takes the form of:</p>
<p style="padding-left: 60px;"><code>New-MailboxImportRequest -FilePath pstfilepath -Mailbox mailbox</code></p>
<p>One of the advantages of this new cmdlet (other than being asynchronous), is that you can specify an additional –IsArchive parameter, which will import the PST into the user’s archive mailbox.</p>
<p>I did experience a few problems using these cmdlets during  my research for this guide. The Exchange 2010 RTM Import-Mailbox on one system refused to play nicely, throwing the following error:</p>
<p style="padding-left: 60px;"><code>Error:<br />
Error was found for XXX because: Error occurred in the step: Approving object. An unknown error<br />
has occurred., error code: -2147221219<br />
+ CategoryInfo : InvalidOperation: (0:Int32) [Import-Mailbox], RecipientTaskException<br />
+ FullyQualifiedErrorId : CFFD629B,Microsoft.Exchange.Management.RecipientTasks.ImportMailbox</code></p>
<p>Not a lot of help in itself – a little Googling and experimentation revealed four main causes for this error:</p>
<ol>
<li>The appropriate role permissions had not been added to the user’s security profile.</li>
<li>The version of MAPI being used had somehow got confused. Running the ‘fixmapi’ command from the command prompt should fix this.</li>
<li>The PST file is password protected.</li>
<li>There is a bug in Exchange.</li>
</ol>
<p>In my case I’d unfortunately hit the fourth case and the work around proved to be pretty horrific It may simply be worth waiting for a fix from Microsoft. To complete my task, I had to temporarily add a new domain controller to my network to host a new Exchange 2010 server. I then moved the mailboxes for which I had PSTs to import to this new server, performed the import, then moved the mailboxes back to their original Exchange Server, and removed the temporary server from the network. Upgrading the system to 2010 SP1 and using the ‘New-MailBoxImportRequest’ cmdlet  on the same system yielded the following error:</p>
<p style="padding-left: 60px;"><code>Couldn't connect to the target mailbox.<br />
+ CategoryInfo : NotSpecified: (0:Int32) [New-MailboxImportRequest], RemoteTransientException<br />
+ FullyQualifiedErrorId : 1B0DDEBA,Microsoft.Exchange.Management.RecipientTasks.NewMailboxImportRequest</code></p>
<p>Again, this appears to be a known issue, and apparently due to be fixed before the release of SP1.</p>
<p>In <a title="Finding PST Files on the Network" href="http://sysadmin-talk.org/2010/08/finding-pst-files-on-the-network-the-manual-way/" target="_self">my next post</a> I will go through finding PST files on your network the manual way.</p>
<blockquote><p>Automatically import PST files into Exchange 2010 with PST Importer 2010. To find out more and to download a free 14 day trial please visit:<br />
<a title="PST Importer 2010 - Automatically import PSTs into Exchange 2010" href="http://www.red-gate.com/products/pst_importer_2010/?utm_source=sysadmintalk" target="_blank">www.red-gate.com/products/pst_importer_2010</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://sysadmin-talk.org/2010/08/how-to-import-pst-files-into-exchange-2010-the-manual-way/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>I Hit a Bug in Exchange 2010 SP1 Beta Manually Importing PST Files &#8211; Here is what I did</title>
		<link>http://sysadmin-talk.org/2010/08/manually-importing-pst-files-and-i-hit-a-bug-in-exchange-2010-sp1-beta/</link>
		<comments>http://sysadmin-talk.org/2010/08/manually-importing-pst-files-and-i-hit-a-bug-in-exchange-2010-sp1-beta/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 16:18:35 +0000</pubDate>
		<dc:creator>James Allison</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[IT Professional]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[PST Files]]></category>
		<category><![CDATA[PST Importer]]></category>
		<category><![CDATA[PST Importing]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[messages]]></category>
		<category><![CDATA[PST]]></category>

		<guid isPermaLink="false">http://sysadmin-talk.org/?p=486</guid>
		<description><![CDATA[I was going through the laborious task of manually importing PST files into Exchange 2010 SP1 beta and I hit a bug: Error: Error was found for (username) because: Error occurred in the step: Approving object. An unknown error has occurred., error code: -2147221219 + CategoryInfo          : InvalidOperation: (0:Int32) [Import-Mailbox], RecipientTaskException + FullyQualifiedErrorId : CFFD629B,Microsoft.Exchange.Management.RecipientTasks.ImportMailbox [...]]]></description>
			<content:encoded><![CDATA[<p>I was going through the laborious task of manually importing PST files into Exchange 2010 SP1 beta and I hit a bug:</p>
<p><code>Error:<br />
Error was found for (username) because: Error occurred in the step: Approving object. An unknown error<br />
has occurred., error code: -2147221219<br />
+ CategoryInfo          : InvalidOperation: (0:Int32) [Import-Mailbox], RecipientTaskException<br />
+ FullyQualifiedErrorId : CFFD629B,Microsoft.Exchange.Management.RecipientTasks.ImportMailbox</code></p>
<p>Here is how I worked round it.</p>
<p><span id="more-486"></span></p>
<p>After doing some digging,  I found the site <a href="http://www.korneel.nl/?p=28">http://www.korneel.nl/?p=28</a> that  identifies most of the problems you might hit importing a PST file.</p>
<p>The cause for the error in my case transpired to be an acknowledged (according to the blog post) bug in exchange, presumably with an upcoming hotfix. However, it seems to be a generic error for all ills, as other solutions on the web suggest using the ‘fixmapi’ command (though admittedly referring to exchange 2007&#8230;). <a href="http://social.technet.microsoft.com/Forums/en-US/exchangesvrmigration/thread/82424f36-2611-4188-808e-df9aad36a5b7">http://social.technet.microsoft.com/Forums/en-US/exchangesvrmigration/thread/82424f36-2611-4188-808e-df9aad36a5b7</a> (And the most common suggestion being adding the import export role to the user account.)</p>
<p>Another potential pitfall is the requirement for the 64bit version of outlook 2010 to be installed. It’s worth noting that by default an installation of Office 2010 on a clean machine will install the 32bit version.</p>
<p>As an unrelated aside,  installing the SP1 beta on exchange also caused a few problems – it required the manual installation of several hot fixes – and more annoyingly one package (UCMA 2.0 Runtime 64bit)– which despite coming as an ‘msi’ installation package, and on running giving all the signs it had installed successfully – had actually only ‘installed’ the installation files, which then had to be run separately. I’m sure these niggles will be ironed out before SP1 is released, but it wasn’t the friendliest of upgrades.</p>
<blockquote><p>PST Importer 2010 provides a simple and transparent way to find and import PST files into Exchange 2010. To find out more information and to download a free 14 day trial please visit: <a title="PST Importer 2010 - Automatically import PSTs into Exchange 2010" href="http://www.red-gate.com/products/pst_importer_2010/?utm_source=sysadmintalk" target="_blank">www.red-gate.com/products/pst_importer_2010</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://sysadmin-talk.org/2010/08/manually-importing-pst-files-and-i-hit-a-bug-in-exchange-2010-sp1-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Online Move-Mailbox &#8211; Mailboxes Offline for only a few Seconds</title>
		<link>http://sysadmin-talk.org/2010/08/exchange-2010-online-move-mailbox-mailboxes-offline-for-only-a-few-seconds/</link>
		<comments>http://sysadmin-talk.org/2010/08/exchange-2010-online-move-mailbox-mailboxes-offline-for-only-a-few-seconds/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 14:27:20 +0000</pubDate>
		<dc:creator>Jaap Wesselius</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[IT Professional]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Mailbox performance]]></category>
		<category><![CDATA[messages]]></category>
		<category><![CDATA[moving]]></category>

		<guid isPermaLink="false">http://sysadmin-talk.org/?p=474</guid>
		<description><![CDATA[With the new online Move-Mailbox functionality in Exchange Server 2010, invoked by calling the New-MoveRequest cmdlet, the time a mailbox is offline has been reduced to only seconds, and as such the end-user experience has been greatly improved. This is what actually happens when an Exchange administrator initiates a New-MoveRequest, either from the Exchange Management [...]]]></description>
			<content:encoded><![CDATA[<p>With the new online Move-Mailbox functionality in Exchange Server 2010, invoked by calling the New-MoveRequest cmdlet, the time a mailbox is offline has been reduced to only seconds, and as such the end-user experience has been greatly improved.<span id="more-474"></span></p>
<p>This is what actually happens when an Exchange administrator initiates a New-MoveRequest, either from the Exchange Management Shell or the Exchange Management Console when moving a mailbox from EXMBX01 to EXMBX02 in the figure below.</p>
<p>The process of moving mailboxes is now performed by a service called Mailbox Replication Service or MRS. The MRS is running on the Client Access Servers.</p>
<p style="text-align: center;"><a href="http://sysadmin-talk.org/wp-content/uploads/2010/08/exchange2010onlinemovemailbox11.gif" rel="lightbox[474]"><img class="size-medium wp-image-476 aligncenter" title="Mailbox Replication Service" src="http://sysadmin-talk.org/wp-content/uploads/2010/08/exchange2010onlinemovemailbox11-300x166.gif" alt="Mailbox Replication Service" width="300" height="166" /></a></p>
<ol>
<li>The Administrator initiates a move request like New-MoveRequest –Identity J.Wesselius –TargetDatabase EXMBX02\MDB02. Now a special message is placed inside the System Mailbox of the current Active Directory site. This message tells that the Move Request is initiated and that its status is Queued;</li>
<li>The Mailbox Replication Service periodically scans this System Mailbox for these messages. The MRS will find the message and reads that the J.Wesselius mailbox is Queued;</li>
<li>The MRS will update the System Message to “In Progress” and will start moving the Mailbox data from EXMBX01 to EXMBX02. MRS will keep the old and the new mailbox in sync. The user is still connected via the CAS Server to EXMBX01, and arriving messages will be delivered via the Hub Transport Server to the Mailbox on EXMBX01;</li>
<li>At a certain point when almost all data is moved from the old to the new Mailbox the old Mailbox is locked. The last pieces of data are moved from the old to the new Mailbox. Also the Active Directory properties of the user are changed to point to the new Mailbox Database. At this point the status of the Move Request (i.e. the message is the System Mailbox) is changed from “In Progress” to “Completion in Progress”;</li>
<li>The new Mailbox is activated, the old Mailbox is soft deleted (which means that it is actually recoverable in SP1!) and the user needs to restart his client. When you move a Mailbox from an Exchange 2010 SP1 Mailbox Database to a Mailbox Database on another SP1 Mailbox Database the client does not need to be restarted.</li>
<li>Although the Mailbox is moved from server EXMBX01 to EXMBX2 the Move Request itself is not deleted. This has to be performed by the Administrator, either by using the Exchange Management Shell (Remove-MoveRequest) or by using the Exchange Management Console.</li>
</ol>
<p>You can see the MRS run on the Client Access Server in the Windows Task Manager:</p>
<p style="text-align: center;"><a href="http://sysadmin-talk.org/wp-content/uploads/2010/08/exchange2010onlinemovemailbox2.png" rel="lightbox[474]"><img class="size-medium wp-image-477 aligncenter" title="Running the MRS" src="http://sysadmin-talk.org/wp-content/uploads/2010/08/exchange2010onlinemovemailbox2-252x300.png" alt="Running the MRS" width="252" height="300" /></a></p>
<p>You can see the status of the move request by entering the following command in the Exchange Management Shell:</p>
<p><strong>[PS] C:\download&gt;Get-MoveRequest | ?{$_.status -eq &#8220;InProgress&#8221;}| Get-MoveRequestStatistics | ft Disp*,Per*,BytesTransferredPerMinute</strong></p>
<p><strong> </strong></p>
<p><strong>DisplayName                 PercentComplete BytesTransferredPerMinute</strong></p>
<p><strong>&#8212;&#8212;&#8212;&#8211;                 &#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</strong></p>
<p><strong>Jaap Wesselius              66               134.2 MB (140,668,124 bytes)</strong></p>
<p><strong>Katie Price [HR Department] 66               119.9 MB (125,677,306 bytes)</strong></p>
<p><strong> </strong></p>
<p><strong>[PS] C:\download&gt;</strong></p>
<p>The MRS is a throttled service, and it is fully configurable. There’s an MSExchangeMailboxReplication.exe.config file in the “C:\Program Files\Microsoft\Exchange Server\V14\Bin\” directory. You can use this config file to configure the throttling of the MRS by changing these entries:</p>
<ul>
<li>MaxActiveMovesPerSourceMDB</li>
<li>MaxActiveMovesPerTargetMDB</li>
<li>MaxActiveMovesPerSourceServer</li>
<li>MaxActiveMovesPerTargetServer</li>
</ul>
<p><img src="file:///C:/Users/MICHAE%7E1.FRA/AppData/Local/Temp/moz-screenshot.png" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://sysadmin-talk.org/2010/08/exchange-2010-online-move-mailbox-mailboxes-offline-for-only-a-few-seconds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing with Exchange Server – Tips and Tricks – Part 2 – Creating Mailboxes</title>
		<link>http://sysadmin-talk.org/2010/06/testing-with-exchange-server-%e2%80%93-tips-and-tricks-%e2%80%93-part-2-%e2%80%93-creating-mailboxes/</link>
		<comments>http://sysadmin-talk.org/2010/06/testing-with-exchange-server-%e2%80%93-tips-and-tricks-%e2%80%93-part-2-%e2%80%93-creating-mailboxes/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 10:24:28 +0000</pubDate>
		<dc:creator>Reka Burmeister</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Exchange Testing]]></category>
		<category><![CDATA[IT Professional]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[PST Importer]]></category>
		<category><![CDATA[Software Testing]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Exchange software testing]]></category>
		<category><![CDATA[PST]]></category>
		<category><![CDATA[PST Files]]></category>

		<guid isPermaLink="false">http://sysadmin-talk.org/?p=463</guid>
		<description><![CDATA[In a previous article I mentioned how to create users and computers in active directory, the first stage of testing the PST Importer (and ESA). The next step is to go to Exchange and create mailboxes to the users that we just created and for further comfortable management, add access permissions to them where needed. [...]]]></description>
			<content:encoded><![CDATA[<p>In a <a href="http://sysadmin-talk.org/2010/02/testing-with-exchange-server-tips-and-tricks-part-1-setting-up-active-directory/" target="_blank">previous article</a> I mentioned how to create users and computers in active directory, the first stage of testing the PST Importer (and ESA). The next step is to go to Exchange and create mailboxes to the users that we just created and for further comfortable management, add access permissions to them where needed.<span id="more-463"></span></p>
<p>This is much easier in Exchange 2007 than it was in Exchange 2003 as here we can use PowerShell. I would like to mention that in case of using Ex 2007, we don’t even have to create the users in advance, the server will take care of that for you. For the full 2007 PowerShell reference guide please see this page <a href="http://technet.microsoft.com/en-us/library/bb123703%28EXCHG.80%29.aspx#NthruR">http://technet.microsoft.com/en-us/library/bb123703%28EXCHG.80%29.aspx#NthruR</a></p>
<p>In short, in order to create a new user type in:</p>
<p><code>New-Mailbox -Name &lt;String&gt; -Database &lt;DatabaseIdParameter&gt; -Password &lt;SecureString&gt; -UserPrincipalName &lt;String&gt; [-DisplayName &lt;String&gt;] [-FirstName &lt;String&gt;] [-Initials &lt;String&gt;] [-LastName &lt;String&gt;]</code></p>
<p>You might notice that if you simply type a string in for the password you’ll get an error:</p>
<p><code>New-Mailbox : Cannot bind parameter 'Password'. Cannot convert value "[given_password]" to type "System.Security.SecureString". Error: "Invalid cast from 'System.String' to ‘System.Security.SecureString'."</code></p>
<p>The reason for this is that the given password has to be a secure string type. In order to create it, type in the following (has to be separate from the previous command):</p>
<p><code><br />
$Password = ConvertTo-SecureString '&lt;string&gt;' -AsPlainText –Force</code></p>
<p>After this you could refer to the given password as $Password.</p>
<p>We usually use this command in two different ways. The first one is to use a scripting language (my preference is Python) to generate the commands with different names. I have a list with the thousand most popular first names and the thousand most popular surnames. My script simply combines the two, giving me quite a lot of options. The second method is to name the users using a counter such as User 1; User 2;&#8230; User n and use a cycle in PowerShell to generate all required user names, such as:</p>
<p><code>$Password = ConvertTo-SecureString '&lt;password&gt;' -AsPlainText –Force</code></p>
<p><code>for ($i=0; $i -le 10; $i++)</p>
<p>{</code></p>
<p><code>New-Mailbox –Name &lt;name&gt;$i -Database &lt;dbname&gt; -Password $Password -UserPrincipalName &lt;UPname&gt; -DisplayName "&lt;name&gt; $i" -FirstName &lt;firstname&gt; -LastName $i</p>
<p>}</code></p>
<p>If someone doesn’t like PowerShell or doesn’t have it (e.g. Exchange 2003), the batch files I mentioned earlier used in active directory work just fine. After creating the users using those the mailboxes can be assigned to them fairly easily. In Exchange 2007, we have to start the “create new mailbox” process and select “existing users” in the first window. </p>
<p>This will show all users in AD that don’t have mailboxes. Fortunately multiselection is allowed so we don’t have to handle them one by one. Exchange 2003 doesn’t have this feature but there’s an easy workaround. Do a search using Exchange 2003’s Active Directory Users and Computers application for all users and multiselect them. Right clicking once will open the context menu where we can select “Exchange tasks” and “Create exchange mailbox” from there.</p>
<p>Finally, the command to add full access rights to a specific user so all mailboxes could be opened (and managed) from one outlook:</p>
<p><code>foreach ($sg in Get-StorageGroup) { if ((Get-ExchangeServer<br />
$sg.Server).Domain.Equals("<em>DomainName.com</em>")) { get-mailboxdatabase<br />
-storagegroup $sg.Identity | add-adpermission -user <em>UserName</em><br />
<em> </em>-accessrights GenericAll; } }</code></p>
]]></content:encoded>
			<wfw:commentRss>http://sysadmin-talk.org/2010/06/testing-with-exchange-server-%e2%80%93-tips-and-tricks-%e2%80%93-part-2-%e2%80%93-creating-mailboxes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Allowing End-Users to Manage Distribution Group Membership in Exchange 2010</title>
		<link>http://sysadmin-talk.org/2010/06/omg-allowing-end-users-to-manage-distribution-group-membership-in-exchange-2010-2/</link>
		<comments>http://sysadmin-talk.org/2010/06/omg-allowing-end-users-to-manage-distribution-group-membership-in-exchange-2010-2/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 13:52:56 +0000</pubDate>
		<dc:creator>Mike Pfeiffer</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[IT Professional]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[email]]></category>

		<guid isPermaLink="false">http://sysadmin-talk.org/?p=370</guid>
		<description><![CDATA[If you currently allow your end-users to manage distribution group membership in a previous version of Exchange, you may be interested to know that like many things, the process for enabling this is completely different in Exchange 2010. This is because distribution group membership management permissions are now delegated through Role Based Access Control (RBAC). [...]]]></description>
			<content:encoded><![CDATA[<p>If you currently allow your end-users to manage distribution group membership in a previous version of Exchange, you may be interested to know that like many things, the process for enabling this is completely different in Exchange 2010. This is because distribution group membership management permissions are now delegated through Role Based Access Control (RBAC).<span id="more-370"></span></p>
<h3>How Does it Work?</h3>
<p>The MyDistributionGroups management role is one of the built-in RBAC roles in Exchange 2010. This role gives end-users the ability to modify, view, remove, and add members to distribution groups they already own. In addition, the MyDistributionGroups Role provides the ability to create new distribution groups.</p>
<p>An end-users ownership of a group is designated by adding their account to the &#8220;Managed By&#8221; property of a distribution group. It is also set when the user creates a distribution group in ECP, once they&#8217;ve been assigned the MyDistributionGroups role.</p>
<p>Allowing users to add and remove distribution groups may not be desirable depending on your requirements, but keep reading, we&#8217;ll look at how you can restrict this later.</p>
<h3>Assigning the MyDistributionGroups Role using ECP</h3>
<p>To enable distribution group management for end-users, you first need to assign them the MyDistributionGroups role. The MyDistributionGroups role is considered a user role, and therefore is assigned using a Role Assignment Policy. By default, the MyDistributionGroups role is not added to the Default Role Assignment Policy, but you can use ECP to do this using the following steps.</p>
<p>Step 1. Log into OWA with an administrator account and click on <strong>Options</strong> in the top right corner.</p>
<p><a href="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/ecp1.png" rel="lightbox[370]"><img class="size-medium wp-image-3796" title="ecp1" src="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/ecp1-300x115.png" alt="" width="300" height="115" /></a></p>
<p>Step 2. In the <strong>Select what to manage</strong> drop down, select <strong>My Organization</strong> and then click on <strong>User Roles</strong>.</p>
<p><a href="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/ecp2.png" rel="lightbox[370]"><img class="size-medium wp-image-3797" title="ecp2" src="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/ecp2-300x118.png" alt="" width="300" height="118" /></a></p>
<p>Step 3. Highlight the <strong>Default Role Assignment Policy</strong> and then click the <strong>Details</strong> button.</p>
<p><a href="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/ecp3.png" rel="lightbox[370]"><img class="size-medium wp-image-3798" title="ecp3" src="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/ecp3-300x68.png" alt="" width="300" height="68" /></a></p>
<p>Step 4. Under <strong>Roles You Can Assign</strong>, check <strong>My Distribution Groups</strong>.</p>
<p><a href="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/ecp4.png" rel="lightbox[370]"><img class="size-medium wp-image-3799" title="ecp4" src="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/ecp4-273x300.png" alt="" width="273" height="300" /></a></p>
<h3>Assign the MyDistributionGroups Role using EMS</h3>
<p>You can also assign the MyDistributionGroups Role to the Default Role Assignment Policy using EMS. Use the New-MangementRoleAssignment cmdlet to perform the operation as shown here:</p>
<p><code>New-ManagementRoleAssignment -Role MyDistributionGroups -Policy "Default Role Assignment Policy"</code></p>
<p><a href="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/ems1.png" rel="lightbox[370]"><img class="size-medium wp-image-3803" title="ems1" src="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/ems1-300x67.png" alt="" width="300" height="67" /></a></p>
<p>Once you&#8217;ve added the MyDistributionGroups role to the Default Role Assignment Policy, your users will be able to manage their own distribution groups.</p>
<h3>Creating and Assigning a Custom &#8220;Locked Down&#8221; Role</h3>
<p>So, what if you only want users to manage the groups they own, and you do not want them adding or removing groups? Well, in that case you would need to create a custom role and add it to the Default Role Assignment Policy. The process for doing this is outlined in the following steps.</p>
<p>Step 1. First, you need to create a new child role based on the existing MyDistributionGroups role. In this example I&#8217;ll call the role &#8220;OwnerDistributionGroups&#8221;, but you can use whatever name makes sense in your environment. Use the following syntax to create the role:</p>
<p><code>New-ManagementRole -Name OwnerDistributionGroups -Parent MyDistributionGroups</code></p>
<p><a href="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/custom_rbac1.png" rel="lightbox[370]"><img class="size-medium wp-image-3808" title="custom_rbac1" src="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/custom_rbac1-300x57.png" alt="" width="300" height="57" /></a></p>
<p>Step 2. Next, you need to remove the New-DistributionGroup and Remove-DistributionGroup cmdlets from your new custom role. You&#8217;ll use the Remove-ManagementRoleEntry cmdlet to do this, as shown below:</p>
<p><code>Remove-ManagementRoleEntry OwnerDistributionGroups\New-DistributionGroup -Confirm:$false</code></p>
<p><code>Remove-ManagementRoleEntry OwnerDistributionGroups\Remove-DistributionGroup -Confirm:$false</code></p>
<p><a href="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/custom_rbac2.png" rel="lightbox[370]"><img class="size-medium wp-image-3809" title="custom_rbac2" src="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/custom_rbac2-300x41.png" alt="" width="300" height="41" /></a></p>
<p>Step 3. Now that you&#8217;ve got the custom role created and customized to meet your requirements, you can assign it to the Default RoleAssignment Policy using the New-ManagementRoleAssignment cmdlet:</p>
<p><code>New-ManagementRoleAssignment -Role OwnerDistributionGroups -Policy "Default Role Assignment Policy"</code></p>
<p><a href="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/custom_rbac3.png" rel="lightbox[370]"><img class="size-medium wp-image-3810" title="custom_rbac3" src="http://www.mikepfeiffer.net/wp-content/uploads/2010/05/custom_rbac3-300x67.png" alt="" width="300" height="67" /></a></p>
<p>At this point, users will be able to manage the groups they own, but they will not be able to add or remove new groups.</p>
<h3>Summary</h3>
<p>Allowing users to create, add and remove their own distribution groups can be a big decision for some organizations. If you plan on enabling distribution group management, you may allow end-users to add and remove their own groups, or you may choose to keep it locked down. Either way, you now have more options with RBAC.</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadmin-talk.org/2010/06/omg-allowing-end-users-to-manage-distribution-group-membership-in-exchange-2010-2/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Say Bye Bye to PST Files with Exchange 2010 &#8211; Honest Guv, Honest</title>
		<link>http://sysadmin-talk.org/2010/05/say-bye-bye-to-pst-files-with-exchange-2010-honest-guv-honest/</link>
		<comments>http://sysadmin-talk.org/2010/05/say-bye-bye-to-pst-files-with-exchange-2010-honest-guv-honest/#comments</comments>
		<pubDate>Wed, 26 May 2010 15:53:47 +0000</pubDate>
		<dc:creator>Marine Barbaroux</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[IT Professional]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[PST Files]]></category>
		<category><![CDATA[PST Importer]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Mailbox performance]]></category>
		<category><![CDATA[messages]]></category>
		<category><![CDATA[PST]]></category>

		<guid isPermaLink="false">http://sysadmin-talk.org/?p=311</guid>
		<description><![CDATA[Are you planning to use the Personal Archive feature in Microsoft Exchange 2010 to get rid of all those nasty PST files on your network? In a way, it is a reasonable call: with the secondary mailbox of Exchange 2010, your users will not need to generate PST files to try and comply to their mailbox [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter" style="text-align: center;"><a href="http://sysadmin-talk.org/wp-content/uploads/2010/05/Bye-Bye-PSTs.jpg" rel="lightbox[311]"><img class="aligncenter size-full wp-image-327" src="http://sysadmin-talk.org/wp-content/uploads/2010/05/Bye-Bye-PSTs.jpg" alt="Bye bye PSTs" width="600" height="300" /></a></div>
<p style="text-align: left;"><a href="http://sysadmin-talk.org/wp-content/uploads/2010/05/Bye-Bye-PSTs.jpg" rel="lightbox[311]"></a> <span id="more-311"></span></p>
<p style="text-align: left;">Are you planning to use the <a title="Personal Archives in Microsoft Exchange 2010" href="http://technet.microsoft.com/en-us/library/dd979795.aspx" target="_blank">Personal Archive</a> feature in <a title="Microsoft Exchange 2010" href="http://www.microsoft.com/exchange/2010/en/us/overview.aspx" target="_blank">Microsoft Exchange 2010</a> to get rid of all those nasty PST files on your network?</p>
<p style="text-align: left;">In a way, it is a reasonable call: with the secondary mailbox of Exchange 2010, your users will not need to generate PST files to try and comply to their mailbox quota limits&#8230;.<br />
&#8230; but you now have a new dilemma: <strong>what do you do with all the PST files already spread over your network?</strong></p>
<p style="text-align: left;">Here are your options:</p>
<ol>
<li>
<div style="text-align: left;"><strong>Do nothing</strong> &#8211;&gt; I wish you good luck next time one of your end users contacts you because they lost a VERY IMPORTANT email.</div>
</li>
<li>
<div style="text-align: left;"><strong>Let your users import manually</strong> (or not) their PST files into exchange &#8211;&gt;  Go to 1)</div>
</li>
<li><strong>Take action to deal with this PST hell </strong>&#8211;&gt; import them into Exchange yourself.</li>
</ol>
<p>Sadly, Microsoft doesn’t make the import easy to do. For some reason, they got rid of the functionality in the Exchange Management Console GUI, and we are left with <a href="http://technet.microsoft.com/en-us/library/bb629586.aspx">just a cmdlet</a>, that is apparently rather  <a href="http://www.howexchangeworks.com/2009/08/where-is-exportimport-cmdlets-in.html">clumsy</a>.</p>
<p>This is why <a href="http://www.red-gate.com/products/Exchange/index.htm">Red Gate Software</a> are currently <strong>developing a tool for a PST search and import into Exchange 2010</strong>. It is based on the existing <a href="http://www.red-gate.com/products/PST_Importer/index.htm">PST Importer</a> tool developed to complement <a title="Re Gate Exchange Server Archiver" href="http://www.red-gate.com/products/Exchange/index.htm" target="_blank">Exchange Server Archiver</a>, but works independently with Exchange 2010. It is still work in progress, but here is a preview of the tool:</p>
<p><strong> </strong><strong>Step 1</strong> (optional if you know where your PST files are located): Find the PST files on your network, via a 4 step wizard.</p>
<div id="attachment_312" class="wp-caption aligncenter" style="width: 610px"><a href="http://sysadmin-talk.org/wp-content/uploads/2010/05/PST-importer-into-Exchange-Step-1.jpg" rel="lightbox[311]"><img class="size-full wp-image-312" src="http://sysadmin-talk.org/wp-content/uploads/2010/05/PST-importer-into-Exchange-Step-1.jpg" alt="PST importer into Exchange - Step 1" width="600" height="427" /></a><p class="wp-caption-text">Step 1: Find the PST files on your network.</p></div>
<div class="mceTemp mceIEcenter">
<div class="mceTemp mceIEcenter">
<div class="mceTemp mceIEcenter">
<div class="mceTemp mceIEcenter" style="text-align: left;"><strong> </strong></div>
<div class="mceTemp mceIEcenter" style="text-align: left;"><strong>Step 2:</strong> Search is completed (in this case returned 4 files) . Select the files you want to import, and click “New import list” to initiate the import.</div>
<div id="attachment_313" class="wp-caption aligncenter" style="width: 610px"><a href="http://sysadmin-talk.org/wp-content/uploads/2010/05/PST-importer-into-Exchange-Step-2.jpg" rel="lightbox[311]"><img class="size-full wp-image-313" src="http://sysadmin-talk.org/wp-content/uploads/2010/05/PST-importer-into-Exchange-Step-2.jpg" alt="PST importer into Exchange - Step 2" width="600" height="427" /></a><p class="wp-caption-text">Step 2: Search is completed (in this case returned 4 files)</p></div>
<p style="text-align: left;"><strong> </strong></p>
<p style="text-align: left;"><strong>Step 3:</strong> Set the destination mailbox. In this case, we automatically select the PST file owner, Anne.</p>
<div class="mceTemp mceIEcenter">
<div id="attachment_314" class="wp-caption aligncenter" style="width: 610px"><a href="http://sysadmin-talk.org/wp-content/uploads/2010/05/PST-importer-into-Exchange-Step-3.jpg" rel="lightbox[311]"><img class="size-full wp-image-314" src="http://sysadmin-talk.org/wp-content/uploads/2010/05/PST-importer-into-Exchange-Step-3.jpg" alt="PST importer into Exchange - Step 3" width="600" height="427" /></a><p class="wp-caption-text">Step 3: Set the destination mailbox</p></div>
<p style="text-align: left;"><strong> </strong></p>
<p style="text-align: left;"><strong>Step 4:</strong> Click “Import all now” to start the import.</p>
<div id="attachment_315" class="wp-caption aligncenter" style="width: 610px"><a href="http://sysadmin-talk.org/wp-content/uploads/2010/05/PST-importer-into-Exchange-Step-4.jpg" rel="lightbox[311]"><img class="size-full wp-image-315" src="http://sysadmin-talk.org/wp-content/uploads/2010/05/PST-importer-into-Exchange-Step-4.jpg" alt="PST importer into Exchange - Step 4" width="600" height="427" /></a><p class="wp-caption-text">Step 4: Start the import. </p></div>
<p style="text-align: left;">
<p style="text-align: left;">Et voila, now Anne can access her PST files in Outlook:</p>
<div class="mceTemp mceIEcenter">
<div class="mceTemp mceIEcenter" style="text-align: center;">
<dl>
<dt><a href="http://sysadmin-talk.org/wp-content/uploads/2010/05/PST-importer-into-Exchange-Step-5.jpg" rel="lightbox[311]"><img class="size-full wp-image-316" src="http://sysadmin-talk.org/wp-content/uploads/2010/05/PST-importer-into-Exchange-Step-5.jpg" alt="PSTs are imported and visible in Users mailboxes in Outlook" width="600" height="427" /></a></dt>
<dd>PSTs are imported and visible in Users&#8217; Outlook mailboxes</dd>
</dl>
<div class="mceTemp mceIEcenter" style="text-align: left;">So what do you think? Better or worse than a cmdlet? Post your opinion here! We&#8217;d love to hear your thoughts &#8211; the good, the bad, and the ugly.</div>
</div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://sysadmin-talk.org/2010/05/say-bye-bye-to-pst-files-with-exchange-2010-honest-guv-honest/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Mystery &#8211; Calling all SysAdmins &#8211; Help Requested. Please.</title>
		<link>http://sysadmin-talk.org/2010/05/exchange-2010-mystery-calling-all-sysadmins-help-requested-please/</link>
		<comments>http://sysadmin-talk.org/2010/05/exchange-2010-mystery-calling-all-sysadmins-help-requested-please/#comments</comments>
		<pubDate>Wed, 19 May 2010 10:34:13 +0000</pubDate>
		<dc:creator>Elizabeth Ayer</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[IT Professional]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[email]]></category>

		<guid isPermaLink="false">http://sysadmin-talk.org/?p=307</guid>
		<description><![CDATA[There’s a mystery about early Exchange 2010 deployments: despite the much-publicized removal of single instance storage, sizes of Exchange 2010 databases have not increased. The same message has trickling back from all quarters, as businesses go live: after moving mailboxes, database sizes in Exchange 2010 are roughly the same as they were in Exchange 2007. [...]]]></description>
			<content:encoded><![CDATA[<p>There’s a mystery about early Exchange 2010 deployments:  despite the much-publicized removal of single instance storage, sizes of Exchange 2010 databases have not increased.  The same message has trickling back from all quarters, as businesses go live:  after moving mailboxes, database sizes in Exchange 2010 are roughly the same as they were in Exchange 2007.<span id="more-307"></span></p>
<p>How is this possible?  Could it be that single instance storage never really had real benefits?  Or maybe because it had been weakened in 2007 (so that only attachments within a storage group were single-instanced), we already paid the tax?</p>
<p>Well, the mystery has been solved:  in Exchange 2010, MS introduced compression.  In more detail,</p>
<p>“As a result of the new architecture and the other changes to the store and ESE, we had to deal with an unintended side effect.  While these changes greatly improved our IO efficiency, they made our space efficiency worse.  In fact, on average they increased the size of the Exchange database by about 20% over Exchange 2007. To overcome this bloating effect, we implemented a targeted compression mechanism (using either 7-bit or XPRESS, which is the Microsoft implementation of the LZ77 algorithm) that specifically compresses message headers and bodies that are either text or HTML-based (attachments are not compressed as typically they exist in their most compressed state already).  The result of this work is that we see database sizes on par with Exchange 2007.”</p>
<p><a href="http://msexchangeteam.com/archive/2010/02/22/454051.aspx">http://msexchangeteam.com/archive/2010/02/22/454051.aspx</a></p>
<p>So!  It seems that Microsoft has not been as off-hand with our storage as it seemed.  The message from Redmond has mostly been, ‘Ah, storage is cheap – and even cheaper for Exchange 2010 – so losing SIS isn’t a big deal.’</p>
<p>But, heart-warmingly, they were looking out for our storage needs all along.… which makes me wonder, why the shyness about the compression?  Yes, there will be a performance tax, but most Exchange servers are not performance-limited by the processor.</p>
<p>Is there some other disadvantage to compressing messages in the Exchange database?  I can’t think of one.</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadmin-talk.org/2010/05/exchange-2010-mystery-calling-all-sysadmins-help-requested-please/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Large is not *always* best when it comes to performance (but it helps) &#8211; Mailbox Performance in Exchange and Outlook 2010</title>
		<link>http://sysadmin-talk.org/2010/05/large-is-not-always-best-when-it-comes-to-performance-but-it-helps-mailbox-performance-in-exchange-and-outlook-2010/</link>
		<comments>http://sysadmin-talk.org/2010/05/large-is-not-always-best-when-it-comes-to-performance-but-it-helps-mailbox-performance-in-exchange-and-outlook-2010/#comments</comments>
		<pubDate>Fri, 14 May 2010 14:12:57 +0000</pubDate>
		<dc:creator>Elizabeth Ayer</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[IT Professional]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Mailbox performance]]></category>

		<guid isPermaLink="false">http://sysadmin-talk.org/?p=280</guid>
		<description><![CDATA[Exchange 2010 has solved the problem of large mailboxes, right?  Not quite.  That headline message is very misleading….. In most cases, mailbox size limits have not increased at all from Exchange 2007 to Exchange 2010, or from Outlook 2007 to Outlook 2010. What’s ‘large’? If I ask you, ‘Does my butt look big in this?’ [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sysadmin-talk.org/wp-content/uploads/2010/05/Elizabeth-big-in-this_321.jpg" rel="lightbox[280]"><img src="http://sysadmin-talk.org/wp-content/uploads/2010/05/Elizabeth-big-in-this_321.jpg" alt="Elizabeth Ayer" title="Elizabeth Ayer" width="100" height="150" class="alignright size-full wp-image-305" /></a>Exchange 2010 has solved the problem of large mailboxes, right?  Not quite.  That headline message is very misleading….. In most cases, mailbox size limits have not increased at all from Exchange 2007 to Exchange 2010, or from Outlook 2007 to Outlook 2010.<span id="more-280"></span></p>
<p><strong>What’s ‘large’?</strong></p>
<p>If I ask you, ‘Does my butt look big in this?’ you know what I mean (and how to answer).  You might also think you know what I mean by, ‘Is my Exchange mailbox large?’  but by Microsoft’s definition, you’re probably wrong.</p>
<p>When the Microsoft Exchange team says ‘large mailbox,’ they don’t mean one that takes up a lot of space;  they mean one with a large number of messages in a single folder.</p>
<p>In other words, I can have 2000 messages each with a 4MB attachment, making an 8GB mailbox, and that is not large.  But if I have a mailbox with 17,135 items in the Inbox which take up 564Mb*,  that <em>is </em>getting large by current MS standards.</p>
<p><strong>What goes wrong with large mailboxes?</strong></p>
<p>According to MS, performance starts to suffer when the number of messages exceeds a certain limit, especially in ‘critical path’ folders like Inbox or Sent Items.</p>
<p>Importantly, Exchange performance for a single mailbox <a href="http://msexchangeteam.com/archive/2005/03/14/395229.aspx">does not depend on the size</a> of the mailbox.  In this <a href="http://msexchangeteam.com/archive/2010/03/12/454119.aspx">Exchange sizing spreadsheet</a> from MS, it shows that limits on the number of messages per folder, but no mention of total data size.</p>
<table style="height: 56px;" border="0" cellspacing="0" cellpadding="0" width="638">
<tbody>
<tr>
<td width="319" valign="top">Version</td>
<td width="319" valign="top">Items allowed in folder</td>
</tr>
<tr>
<td width="319" valign="top">Exchange 2003</td>
<td width="319" valign="top">5,000</td>
</tr>
<tr>
<td width="319" valign="top">Exchange 2007</td>
<td width="319" valign="top">20,000</td>
</tr>
<tr>
<td width="319" valign="top">Exchange 2010</td>
<td width="319" valign="top">100,000</td>
</tr>
</tbody>
</table>
<p>Table:  recommended limits for number of items in a mail folder</p>
<p>So what can you expect?  You get to 20,000 messages and everything hangs?  Not at all.   Normal  functions of reading and sending mail should behave fine.</p>
<p>According to the article <a href="http://technet.microsoft.com/en-us/library/ee832791.aspx">Understanding Database and Log Performance Factors</a>, the acknowledged performance issue is very specific:</p>
<ul>
<li>IF you have an Exchange 2007 server</li>
<li>AND the end user is using OWA or Outlook in online mode</li>
<li>AND this user sorts a folder with 20,000+ items differently</li>
<li>THEN the system may be unresponsive.</li>
</ul>
<p>Sorting hammers the Exchange server, and that, according to Microsoft, is the major scalability limitation.</p>
<p><strong>What, that’s it?</strong></p>
<p>Even I, a serial hoarder, don’t think that 100,000 messages in my Inbox is a happy thought.   More like a doomsday scenario.</p>
<p>What else in Exchange 2010 facilitates the ‘large mailbox’ ideal?  According to a Microsoft White Paper, <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=e3303d34-af6c-4108-861b-dc05f9cf3e76">Large Mailbox Vision</a> (where now ‘large’ means large on disk)  the main limit on mailbox size is the expense of storage.  Therefore, they are ‘solving’ the problem of large mailboxes by database format changes that mean the Exchange server no longer needs to run on high-end storage.</p>
<p>By removing single instancing and introducing compression, the number of I/O operations has decreased to such an extent that you can use cheaper storage for your Exchange mailboxes (I’m oversimplifying here, but only a little).</p>
<p>Does that reduction in I/O operations help scalability?  In most cases, no.</p>
<p>If your users are running Outlook in cached mode, there is basically <em>no relationship between the I/O load on the server and the size of mailbox possible</em>.  Current mail accounts for most of the I/O burden.  Older data sits mostly unaccessed on the server.  The spec of the client machine has a <em>much </em>bigger effect on the end-user experience…..</p>
<p><strong>Outlook Scalability Improvements</strong></p>
<p>For anyone running Outlook in cached Exchange mode, the properties of OST files, not the Exchange server, make the biggest difference for large mailboxes.</p>
<p>Late in Outlook 2007,  there were major changes to the OST/PST file format to improve performance and scalability (countering major degradations introduced earlier in 2007).  Although this <a href="http://support.microsoft.com/?kbid=968009">increases the file size on disk by about 20%</a>, the responsiveness should be worth it.</p>
<p>No firm guidelines on maximum number of messages exist for Outlook, but <a href="http://support.microsoft.com/kb/932086">this article on performance problems</a> promises good performance for common actions like switching folders, even for ‘tens of thousands of items in a single folder.’</p>
<p>MS has also released <a href="http://support.microsoft.com/kb/940226">some sizing guidelines</a>, which apply to Outlook 2007 SP1 with the February 2009 cumulative update or higher (including Outlook 2010). These sizes are about 2.5x previous size limits  for similar performance:</p>
<ul>
<li><strong>[PST/OST files] </strong><strong>Up to 5 gigabytes (GB):</strong> This size should provide a good user experience on most hardware.</li>
<li><strong>Between 5 GB and 10 GB:</strong> This size is typically hardware dependent. Therefore, if you have a fast hard disk and much RAM, your experience will be better. However, slower hard drives, such as drives that are typically found on portable computers or early generation solid state drives (SSDs), experience some application pauses when the drives respond.</li>
<li><strong>More than 10 GB:</strong> This size is where short pauses begin to occur on most hardware.</li>
<li><strong>Very large, such as 25 GB or larger:</strong> This size increases the frequency of the short pauses, especially while you are downloading new e-mail. As described above, you can use Send/Receive groups to manually sync your mail.</li>
</ul>
<p>Bear in mind, though, that an OST can be much larger than the reported mailbox size in Exchange; according to <a href="http://support.microsoft.com/kb/932086">this MS KB</a>, “if the mailbox size is 350 megabytes (MB), the .ost file size can be 475 MB or larger.”</p>
<p>Another major performance consideration is whether you keep the OST/PST files on a network share.  According to <a href="http://support.microsoft.com/?kbid=968009">a KB describing the recent Outlook 2007 improvements</a>, ‘This configuration is not supported by Microsoft and is known to cause performance issues generally. There are no workarounds or improvements planned….’</p>
<p><strong>Summary</strong></p>
<p>Effectively, Microsoft is telling us that since 2007, Exchange has had no problem with large (in disk space) mailboxes.  Apart from the relatively unusual case of users with more than 20,000 files per folder, the major issue was cost, plain and simple.</p>
<p>On the Outlook side, there <em>are </em>some limitations.  As the mailbox grows past 5Gb, degradations in cached Outlook performance creep in.</p>
<p>Importantly, though, <em>this is the same for Exchange 2007 and Outlook 2007 SP2 </em>as for 2010. There is no word of any improvements to support large mailboxes in Exchange 2010 and Outlook 2010, apart from for folders with more than 20,000 messages.</p>
<p>I hear all the time that ‘Exchange performance is slow because this mailbox takes up &lt;number&gt; Gb,’ but Microsoft says this does not happen.   I would love to hear from you if you can prove them wrong!</p>
<p>* my actual total at the time of writing this.  I’m not proud.</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadmin-talk.org/2010/05/large-is-not-always-best-when-it-comes-to-performance-but-it-helps-mailbox-performance-in-exchange-and-outlook-2010/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

