<?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>Exchange Blog</title>
	<atom:link href="http://www.testlabs.se/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.testlabs.se/blog</link>
	<description>Jonas Andersson - MCC 2011 &#38; 2012</description>
	<lastBuildDate>Wed, 15 May 2013 18:12:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Part 1: Migrations &#8211; overview</title>
		<link>http://www.testlabs.se/blog/2013/05/09/part-1-migrations-overview/</link>
		<comments>http://www.testlabs.se/blog/2013/05/09/part-1-migrations-overview/#comments</comments>
		<pubDate>Thu, 09 May 2013 10:17:59 +0000</pubDate>
		<dc:creator>Jonas Andersson</dc:creator>
				<category><![CDATA[Exchange 2003]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Exchange 2013]]></category>
		<category><![CDATA[Office 2013]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[Coexistence]]></category>
		<category><![CDATA[Domino]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[Migration Manager]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Notes Migrator]]></category>
		<category><![CDATA[Notes Migrator for Domino]]></category>
		<category><![CDATA[QMM]]></category>
		<category><![CDATA[QMMEX]]></category>
		<category><![CDATA[Quest]]></category>
		<category><![CDATA[Quest Software]]></category>

		<guid isPermaLink="false">http://www.testlabs.se/blog/?p=3044</guid>
		<description><![CDATA[This will be a collection of posts, regarding migrations in general in the first post will digging deeper in the following posts. Published: 2013-05-09 Updated: 2013-05-15 Version: 1.1 Thanks for the great input and feedback: Hakim Taoussi and Magnus Göransson Part 1: Overview I will try to keep the first post not technical since this ]]></description>
				<content:encoded><![CDATA[<p>This will be a collection of posts, regarding migrations in general in the first post will digging deeper in the following posts.</p>
<p><strong>Published</strong>: 2013-05-09<br />
<strong>Updated</strong>: 2013-05-15<br />
<strong>Version</strong>: 1.1</p>
<p>Thanks for the great input and feedback: Hakim <span style="font-family: Tahoma; font-size: small;">Taoussi and Magnus Göransson</span></p>
<h6>Part 1: Overview</h6>
<p>I will try to keep the first post not technical since this is more common sense then anything else.<br />
In short I want to summarize some key takeaways and recommendation to stick with, explaining them a bit more in detail below.</p>
<ul>
<li><span style="color: #333333;">Planning</span></li>
<li><span style="color: #333333;">Information &amp; communication<br />
</span></li>
<li><span style="color: #333333;">Pilot migrations</span></li>
<li>End-user training</li>
<li>Experience</li>
<li>Minimize the coexistence time</li>
</ul>
<h6><span style="color: #333333;">Planning</span></h6>
<p>Some of you might think that… well of course we are planning. But sometimes I hear people that spend like 10-15% of their total project time for planning. I would recommend you to rethink if that’s the case, and suggest that you maybe should spend at least 50% of the time for it, maybe even more (in large projects).</p>
<p>What I mean with planning is to create a detailed migration plan, this should of course include estimations regarding how many users can be migrated per hour, how much data can be transferred per hour.<br />
Basically what this means is that the planning phase should be used for planning and verifying that everything is in place and works like it’s expected to do.</p>
<p>For example, in the official guide from Quest Software when migrating from Domino to Exchange they calculate of 5GB/hour/migration server during good conditions. In the real world I’ve seen throughput of 20GB/h/server. With this said, it all depends&#8230; (<em>the consultants favorite phrase</em>) This is one of those things that needs to be tested and verified before creating a detailed migration plan, for doing a good estimation.</p>
<p>Don’t forget to verify that the target environment have enough capacity, servers and storage.</p>
<p>Other questions that needs clear answers can be;<br />
How is users and mailboxes provisioned?<br />
During the migration, where should new mailboxes be created?<br />
Is there information in the user attributes that needs to be migrated from Domino into AD?<br />
How will the migration process work?<br />
What requirements are there?</p>
<p>So for the planning, think about all steps.</p>
<h6>Information &amp; Communication</h6>
<p>With information I mean to inform everybody that’s involved in the project in one or another way.<br />
This would include the helpdesk and support, since these are the projects closest friends for helping and taking care of incidents.</p>
<p>On the other hand we have the users themselves, here I’m talking about the end-users. If the migration will impact the users in a way they are not used to, remind to inform them a couple of weeks before they are going to be migrated, with a reminding notification a couple of days when the migration will take place.<br />
During a transition from for example, Exchange 2007 to Exchange 2010, there won’t be much impact on the users, it’s more a data transfer and updating a couple of attributes in the directory so the impact is very small. In those transition projects (it depends on the customer requirements) the needs for user reminders is not that big as the migration projects. But keep in mind, it’s better they get too much information than too little.</p>
<p>In large projects it’s a recommendation to place the information on public places like the restroom and the lunch room. Also inform the people on every place that’s possible, intranet, mail, letter, meeting and so on.</p>
<p>In short I want to say the obvious, if the information is lacking or poor, the experience from the end-user perspective will be poor. In the end this give the result of a failed project, at least from a user perspective.</p>
<h3></h3>
<h3></h3>
<h6><span style="color: #333333;">Pilot migrations</span></h6>
<p>From the projects I’ve been a part of I’ve learnt lots of things and gained experience. One of these things is to have a good pilot, I would recommend to divide the pilot into 3 parts.</p>
<p><em>Part 1 is the “Technical Pilot”</em>, this would include the closest project members and/or only technical people that can handle issues and problems when they occur.<br />
<em>Part 2 is the “Pilot 1”</em> and this would include at least 10 users, spread throughout the organization, the more spread they are the better value would the pilot have.<br />
<em>Part 3 is called “Pilot 2”</em>, this is started when the “Pilot 1” phase is completed and the evaluations are done. Maybe some tweaking needs to be done before starting this stage (if there were issues and errors).<br />
In “Pilot 2” should at least 50 people be included throughout the organization, this last Pilot phase is used for solving any issues that occurred in previous stages, this for minimizing the impact when the real migration phase will take place.</p>
<p>The numbers above is just examples, but might be good examples for a environment with a couple of thousand users.</p>
<p>Before starting with “Pilot 2” the whole migration process, how object get provisioned should be well documented. It would be a recommendation to have it documented even in the “Technical Pre-Pilot”, but my experience tells me that things are changing and somewhere during “Pilot 1” the processes are getting tested and documented.</p>
<h6>End-user training</h6>
<p>As this is mentioned, in some cases it might not be needed, for instance if the moved users still keeps the same Outlook client version and the impact is very low. As we all know things are changing over time with new versions and if the user used for example Outlook 2003 with Windows XP and will be upgraded to Windows 7 and Outlook 2013, there might be a reason for giving the users a training session and some documents with instructions on how things work in the new version.</p>
<p>If the users are migrated for example from Domino/Notes to Exchange/Outlook I would strongly recommend having training sessions were the users can attend and also bringing instructions on how things differs between Notes and Outlook, and how Outlook should be used for booking a meeting, sending a mail etc.</p>
<p>This for making sure that the users gets a good experience and can handle the new tools.</p>
<h6>Minimize the coexistence time</h6>
<p>I’m not writing this because of lack due to products out there or the functions of them.</p>
<p>But I’m writing this bullet for having a smoother and easier understanding, mostly for the helpdesk and the end-users. During a coexistence (freebusy/mail flow/directory synchronization) time it can be hard to troubleshoot and isolate incidents and problems. Another good reason for minimizing the coexistence time is regarding all shared resources, by minimizing the coexistence time you will reduce the impact for the end-users. So for minimizing these hours spent on troubleshooting and the work effort everyone need to put in, I would recommend to keep the coexistence time as short as it can be, without impacting the experience or business in a bad way.</p>
<p>In short I would say, if things are working. Keep up a good pace for having a short coexistence time!</p>
<h6>Experience</h6>
<p>Last but not least, I would recommend you to select careful what project members are selected or which company that runs these kind of projects. It’s very important that they have the full understanding of what needs to be done and what impact it has for everyone involved but also the business itself.</p>
<p>If using Quest Software, they have a requirement of using certified people for designing, installing and configuring their products. This for making sure that the result will be good and that everyone should be satisfied with it. I’m not sure about other vendors but I think they have something similar to this model.</p>
<p><strong>Read more<br />
</strong>Post 2: Prerequisites for Domino/Notes migrations<br />
Post 3: Migrating User Mailboxes from Domino/Notes to Exchange 2013<br />
Post 4: Migrating User Mailboxes from Domino/Notes to Office 365<br />
Post 5: Migrating Groups and Resources Mailboxes<br />
Post 6: Prerequisites for Coexistence between Domino and Exchange 2013<br />
Post 7: Configuring Quest Coexistence Manager for Notes w. Exchange 2013 On-Prem<br />
Post 8: Configuring Quest Coexistence Manager for Notes w. Office 365<br />
Post 9: Prerequisites for Quest Migration Manager<br />
Post 10: Migrating User Mailboxes from Exchange 2003 to Exchange 2013 using QMM<br />
Post 11: Migrating User Mailboxes from Exchange On-Prem to Office 365</p>
<p>I hope these key takeaways gave you some good insight and some things to think about.<br />
I would be happy to hear your comments/feedback this post.</p>
<p>The plan is to post a new article every second week, keep your eyes open</p>
<p>Regards,<br />
Jonas</p>
]]></content:encoded>
			<wfw:commentRss>http://www.testlabs.se/blog/2013/05/09/part-1-migrations-overview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Content Indexing failed using Exchange 2013 RTM</title>
		<link>http://www.testlabs.se/blog/2013/04/11/content-indexing-failed-using-exchange-2013-rtm/</link>
		<comments>http://www.testlabs.se/blog/2013/04/11/content-indexing-failed-using-exchange-2013-rtm/#comments</comments>
		<pubDate>Thu, 11 Apr 2013 18:34:20 +0000</pubDate>
		<dc:creator>Jonas Andersson</dc:creator>
				<category><![CDATA[Exchange 2013]]></category>
		<category><![CDATA[Content Index]]></category>
		<category><![CDATA[Content Indexing]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Mailbox]]></category>
		<category><![CDATA[Mailbox Server]]></category>
		<category><![CDATA[MSExchange]]></category>

		<guid isPermaLink="false">http://www.testlabs.se/blog/?p=2930</guid>
		<description><![CDATA[I just found a bug in my lab environment and wanted to share the information with you. My lab environment is a small environment that consists of one domain controller (Windows 2008 R2) and two Exchange 2013 RTM servers (based on Windows 2012 Server), these holds both the Mailbox and the CAS role. I found ]]></description>
				<content:encoded><![CDATA[<p>I just found a bug in my lab environment and wanted to share the information with you.<br />
My lab environment is a small environment that consists of one domain controller (Windows 2008 R2) and two Exchange 2013 RTM servers (based on Windows 2012 Server), these holds both the Mailbox and the CAS role.</p>
<p>I found this issue when I was about to do a failover of one of the mailbox databases.<br />
It couldn’t be done (without using any additional parameters) because the content indexing was in failed state.</p>
<p>When I did run: <strong>Get-MailboxDatabaseCopyStatus –Server tlex01</strong> it did show me that the index was in failed state.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2013/04/image.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2013/04/image_thumb.png" width="244" height="54" border="0" /></a></p>
<p>I tried to update it using the <strong>Update-MailboxDatabaseCopy –CatalogOnly</strong> cmdlet, but after a while it was still in failed state. Some posts on the forums stated to remove the indexing files, which is the standard procedure when having these kind of issues. However, it was done as a step 2 but it didn’t solve the issue for me.</p>
<p>Finally I came over some information that a group should be created called “<strong>ContentSubmitters</strong>”, I did create this group in the <strong>Microsoft Exchange Security Groups</strong> OU as a <strong>Universal – Security Group</strong>.<br />
I also granted “<strong>Builtin\Administrators</strong>” and “<strong>NetworkService</strong>” <strong>Full Control</strong> to this group.</p>
<p>After this was done I stopped the <strong>Microsoft Exchange Search</strong> and <strong>Microsoft Exchange Search Host Controller</strong> service and removed the content indexing files. Then started up the services again, after a while the index was rebuilt and was in a healthy state.</p>
<p>I have tried to find information if this issue is solved by using <a href="http://blogs.technet.com/b/exchange/archive/2013/04/02/released-exchange-server-2013-rtm-cumulative-update-1.aspx" target="_blank">CU1</a>, but I haven’t found any information yet.</p>
<p>Regards,<br />
Jonas</p>
]]></content:encoded>
			<wfw:commentRss>http://www.testlabs.se/blog/2013/04/11/content-indexing-failed-using-exchange-2013-rtm/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Exchange 2013 script &#8211; automatic installation of prerequisites</title>
		<link>http://www.testlabs.se/blog/2013/04/05/exchange-2013-script-automatic-installation-of-prerequisites/</link>
		<comments>http://www.testlabs.se/blog/2013/04/05/exchange-2013-script-automatic-installation-of-prerequisites/#comments</comments>
		<pubDate>Fri, 05 Apr 2013 09:06:04 +0000</pubDate>
		<dc:creator>Jonas Andersson</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Exchange 2013]]></category>
		<category><![CDATA[CAS]]></category>
		<category><![CDATA[Client Access]]></category>
		<category><![CDATA[Exchange 2013 Configuration guide]]></category>
		<category><![CDATA[Exchange 2013 Installation guide]]></category>
		<category><![CDATA[Exchange Server 2013]]></category>
		<category><![CDATA[Mailbox]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[UM]]></category>

		<guid isPermaLink="false">http://www.testlabs.se/blog/?p=2913</guid>
		<description><![CDATA[I’ve updated a script that was intended for installing prerequisites for Exchange 2010 that were released by a couple of peoples (Anderson Patricio, Pat Richard and Bhargav Shukla). This script have now been updated and applies to Exchange 2013. It will help you with installing all prerequisites (features) plus the FilterPack(s) and the Unified Communications ]]></description>
				<content:encoded><![CDATA[<p>I’ve updated a script that was intended for installing prerequisites for Exchange 2010 that were released by a couple of peoples (<a href="http://www.andersonpatricio.org/" target="_blank">Anderson Patricio</a>, <a href="http://www.ehloworld.com/" target="_blank">Pat Richard</a> and <a href="http://www.bhargavs.com/" target="_blank">Bhargav Shukla</a>). This script have now been updated and applies to Exchange 2013.</p>
<p>It will help you with installing all prerequisites (features) plus the FilterPack(s) and the Unified Communications Managed API. It also provides the option to disable the UAC (User Access Control) and the Windows Firewall.</p>
<p>You can download the script <a href="http://www.testlabs.se/blog/wp-content/uploads/2013/04/Install-Exchange2013PreReqs.zip" target="_blank">here<br />
</a>Feel free to use it as much as you want, I just want to mention I do not provide support for it and there are no warranty.</p>
<p>The script/code can be viewed below:</p>
<pre class="brush: powershell; title: ; notranslate">
#############################################################################
 # Install-Exchange2013PreReqs.ps1
 # Configures the necessary prerequisites to install Exchange 2013 on a
 # Windows Server 2008 R2 server or Windows Server 2012 server
 #
 # Updated by: Jonas Andersson
 # Original written by: Pat Richard, Anderson Patricio and Bhargav Shukla
 #
 # Some info taken from
 # http://www.ucblogs.net/blogs/exchange/archive/2009/12/12/Automated-prerequisite-installation-via-PowerShell-for-Exchange-Server-2010-on-Windows-Server-2008-R2.aspx&quot;&gt;http://www.ucblogs.net/blogs/exchange/archive/2009/12/12/Automated-prerequisite-installation-via-PowerShell-for-Exchange-Server-2010-on-Windows-Server-2008-R2.aspx
 # http://msmvps.com/blogs/andersonpatricio/archive/2009/11/13/installing-exchange-server-2010-pre-requisites-on-windows-server-2008-r2.aspx&quot;&gt;http://msmvps.com/blogs/andersonpatricio/archive/2009/11/13/installing-exchange-server-2010-pre-requisites-on-windows-server-2008-r2.aspx
 # http://www.bhargavs.com/index.php/powershell/2009/11/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2/&quot;&gt;http://www.bhargavs.com/index.php/powershell/2009/11/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2/
 #############################################################################

# Detect correct OS here and exit if no match
 if (-not((Get-WMIObject win32_OperatingSystem).OSArchitecture -eq '64-bit') -and (((Get-WMIObject win32_OperatingSystem).Version -eq &quot;6.1.7601&quot;) -or (Get-WMIObject win32_OperatingSystem).Version -eq &quot;6.2.9200&quot;)){
 Write-Host &quot;This script requires a 64bit version of Windows Server 2008 R2 or Windows Server 2012, which this is not.&quot; -ForegroundColor Red -BackgroundColor Black
 Exit
 }

Function Disable-UAC(){

$path = &quot;HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System&quot;
 $a = Get-ItemProperty $path -Name EnableLUA

if ($a | Select-String &quot;0&quot;)
 {
 Write-Host &quot;UAC is already disabled&quot; -ForegroundColor Green
 return
 }

if ($a | Select-String &quot;1&quot;)
 {
 Write-Host &quot;Enabled&quot; -ForegroundColor Red
 Set-ItemProperty &quot;HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System&quot; -Name &quot;EnableLUA&quot; -Value 0
 Write-host &quot;Registry key HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA has been changed.&quot; -ForegroundColor yellow
 Write-Host &quot;UAC is now disabled&quot; -ForegroundColor Green
 }

}

Function Disable-FW(){

$status = netsh advfirewall show allprofiles state

if ($status | Select-String &quot;ON&quot;)
 {
 $enabled = $true
 }
 else
 {
 $enabled = $false
 }

if ($enabled -eq $true) {

netsh advfirewall set allprofiles state off
 Write-Host &quot;Firewall is now disabled&quot; -ForegroundColor yellow
 return
 }

if ($enabled -eq $false) {
 Write-Host &quot;Firewall is already disabled&quot; -ForegroundColor Green
 }

}

Function InstallFilterPack(){

if (Get-ItemProperty &quot;HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\{95140000-2000-0409-1000-0000000FF1CE}&quot; -ErrorAction SilentlyContinue) {

Write-host &quot;FilterPack is already installed.&quot; -ForegroundColor yellow
 return
 }

else
 {

trap {
 Write-Host &quot;Problem downloading FilterPackx64.exe. Please visit: &lt;a href=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=26604&quot;&gt;http://www.microsoft.com/en-us/download/details.aspx?id=26604&lt;/a&gt; and &lt;a href=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=17062&amp;quot;&quot;&gt;http://www.microsoft.com/en-us/download/details.aspx?id=17062&quot;&lt;/a&gt;

break
 }

#set a var for the folder you are looking for
 $folderPath = 'C:\Temp'

#Check if folder exists, if not, create it
 if (Test-Path $folderpath){
 Write-Host &quot;The folder $folderPath exists.&quot;
 } else{
 Write-Host &quot;The folder $folderPath does not exist, creating...&quot; -NoNewline
 New-Item $folderpath -type directory | Out-Null
 Write-Host &quot;done!&quot; -ForegroundColor Green
 }

# Check if file exists, if not, download it
 $file1 = $folderPath+&quot;\FilterPack64bit.exe&quot;
 $file2 = $folderPath+&quot;\filterpack2010sp1-kb2460041-x64-fullfile-en-us.exe&quot;

if (Test-Path $file1){
 write-host &quot;The file $file1 exists.&quot;
 } else {
 #Download Microsoft Filter Pack
 Write-Host &quot;Downloading Microsoft Filter Pack...&quot; -nonewline
 $clnt = New-Object System.Net.WebClient
 $url = &quot;&lt;a href=&quot;http://download.microsoft.com/download/0/A/2/0A28BBFA-CBFA-4C03-A739-30CCA5E21659/FilterPack64bit.exe&amp;quot;&quot;&gt;http://download.microsoft.com/download/0/A/2/0A28BBFA-CBFA-4C03-A739-30CCA5E21659/FilterPack64bit.exe&quot;&lt;/a&gt;
 $clnt.DownloadFile($url,$file1)
 Write-Host &quot;done!&quot; -ForegroundColor Green
 }

if (Test-Path $file2){
 write-host &quot;The file $file2 exists.&quot;
 } else {
 #Download Microsoft Filter Pack SP1
 Write-Host &quot;Downloading Microsoft Filter Pack SP1...&quot; -nonewline
 $clnt = New-Object System.Net.WebClient
 $url = &quot;&lt;a href=&quot;http://download.microsoft.com/download/A/A/3/AA345161-18B8-45AE-8DC8-DA6387264CB9/filterpack2010sp1-kb2460041-x64-fullfile-en-us.exe&amp;quot;&quot;&gt;http://download.microsoft.com/download/A/A/3/AA345161-18B8-45AE-8DC8-DA6387264CB9/filterpack2010sp1-kb2460041-x64-fullfile-en-us.exe&quot;&lt;/a&gt;
 $clnt.DownloadFile($url,$file2)
 Write-Host &quot;done!&quot; -ForegroundColor Green
 }

#Install Microsoft Filter Packs
 Write-Host &quot;Installing Microsoft Filter Packs...&quot;

$args = &quot;/quiet /norestart&quot;
 $setup1 = (Start-Process $file1 -ArgumentList $args -Wait -PassThru).ExitCode
 if ($setup1 -eq 0) { write-host &quot;Successfully installed $file1&quot; -ForegroundColor Green }
 if ($setup1 -ne 0) { write-host &quot;Failed!&quot; -ForegroundColor Red }

$setup2 = (Start-Process $file2 -ArgumentList $args -Wait -PassThru).ExitCode
 if ($setup2 -eq 0) { write-host &quot;Successfully installed $file2&quot; -ForegroundColor Green }
 if ($setup2 -ne 0) { write-host &quot;Failed!&quot; -ForegroundColor Red }

}
 }

Function InstallUMAPI(){

#Change reg key below!
 if (Get-ItemProperty &quot;HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\UCMA4&quot; -ErrorAction SilentlyContinue) {

Write-host &quot;Unified Communications Managed API 4.0 Runtime is already installed.&quot; -ForegroundColor yellow
 return
 }

else
 {

trap {
 Write-Host &quot;Problem downloading UM API. Please visit: &lt;a href=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=34992&amp;quot;&quot;&gt;http://www.microsoft.com/en-us/download/details.aspx?id=34992&quot;&lt;/a&gt;

break
 }
 #set a var for the folder you are looking for
 $folderPath = 'C:\Temp'

#Check if folder exists, if not, create it
 if (Test-Path $folderpath){
 Write-Host &quot;The folder $folderPath exists.&quot;
 } else{
 Write-Host &quot;The folder $folderPath does not exist, creating...&quot; -NoNewline
 New-Item $folderpath -type directory | Out-Null
 Write-Host &quot;done!&quot; -ForegroundColor Green
 }

# Check if file exists, if not, download it
 $file = $folderPath+&quot;\UcmaRuntimeSetup.exe&quot;
 if (Test-Path $file){
 write-host &quot;The file $file exists.&quot;
 } else {

#Download Microsoft UM API
 Write-Host &quot;Downloading Microsoft UM API...&quot; -nonewline
 $clnt = New-Object System.Net.WebClient
 $url = &quot;&lt;a href=&quot;http://download.microsoft.com/download/2/C/4/2C47A5C1-A1F3-4843-B9FE-84C0032C61EC/UcmaRuntimeSetup.exe&amp;quot;&quot;&gt;http://download.microsoft.com/download/2/C/4/2C47A5C1-A1F3-4843-B9FE-84C0032C61EC/UcmaRuntimeSetup.exe&quot;&lt;/a&gt;
 $clnt.DownloadFile($url,$file)
 Write-Host &quot;done!&quot; -ForegroundColor Green
 }

#Check/Install Media Foundation feature
 $mf = Get-WindowsFeature &quot;Server-Media-Foundation&quot; | select *

Start-Sleep 2

if ($mf.Installed -eq $False)
 {
 Write-Host &quot;Installing Media Foundation feature...&quot;    -ForegroundColor Green
 Add-Windowsfeature Server-Media-Foundation

Write-Host &quot;&quot;
 Write-Host &quot;Installing of Media Foundation feature completed.&quot; -ForegroundColor Green
 Write-Host &quot;&quot;
 Write-Host &quot;Restart the server and restart the task&quot; -ForegroundColor Red
 Write-Host &quot;or else the UM API won't be installed&quot; -ForegroundColor Red
 Write-Host &quot;&quot;

return

}

if ($mf.Installed -eq $True)
 {
 #Install Microsoft UM API
 Write-Host &quot;Installing Microsoft UM API...&quot; -ForegroundColor Green

$args = &quot;/quiet /norestart&quot;
 $setup = (Start-Process $file -ArgumentList $args -Wait -PassThru).ExitCode
 if ($setup -eq 0) { write-host &quot;Successfully installed $file&quot; -ForegroundColor Green }
 if ($setup -ne 0) { write-host &quot;Failed!&quot; -ForegroundColor Red }

}
 }

}

Import-Module ServerManager
 $opt = &quot;None&quot;
 # Do {
 clear
 if ($opt -ne &quot;None&quot;) {write-host &quot;Last command: &quot;$opt -foregroundcolor Yellow}
 write-host
 write-host Exchange Server 2013 - Prerequisites script
 write-host Please, select which role you are going to install..
 write-host
 write-host '1) Client Access Server'
 write-host '2) Mailbox'
 write-host '3) Typical (CAS/Mailbox)'
 write-host
 write-host '10) Install Microsoft Filter Pack 2.0'
 write-host '    Required if installing Mailbox Server roles' -foregroundcolor yellow
 write-host '    Automatically set for options 2 and 3' -foregroundcolor yellow
 write-host '11) Install Microsoft UM API'
 write-host '    Required if installing Mailbox Server roles' -foregroundcolor yellow
 Write-Host '12) Disable UAC'
 Write-Host '13) Disable Firewall'
 write-host
 write-host '15) Restart the Server'
 write-host '16) End'
 write-host
 $opt = Read-Host &quot;Select an option.. [1-14]? &quot;

switch ($opt)    {
 1 {

# Windows Server 2008 R2 SP1
 if ((Get-WMIObject win32_OperatingSystem).Version -eq &quot;6.1.7601&quot;) {

Import-Module ServerManager
 Add-WindowsFeature &quot;Desktop-Experience&quot;, &quot;NET-Framework&quot;, &quot;NET-HTTP-Activation&quot;, &quot;RPC-over-HTTP-proxy&quot;, &quot;RSAT-Clustering&quot;, &quot;RSAT-Web-Server&quot;, &quot;WAS-Process-Model&quot;, &quot;Web-Asp-Net&quot;, &quot;Web-Basic-Auth&quot;, &quot;Web-Client-Auth&quot;, &quot;Web-Digest-Auth&quot;, &quot;Web-Dir-Browsing&quot;, &quot;Web-Dyn-Compression&quot;, &quot;Web-Http-Errors&quot;, &quot;Web-Http-Logging&quot;, &quot;Web-Http-Redirect&quot;, &quot;Web-Http-Tracing&quot;, &quot;Web-ISAPI-Ext&quot;, &quot;Web-ISAPI-Filter&quot;, &quot;Web-Lgcy-Mgmt-Console&quot;, &quot;Web-Metabase&quot;, &quot;Web-Mgmt-Console&quot;, &quot;Web-Mgmt-Service&quot;, &quot;Web-Net-Ext&quot;, &quot;Web-Request-Monitor&quot;, &quot;Web-Server&quot;, &quot;Web-Stat-Compression&quot;, &quot;Web-Static-Content&quot;, &quot;Web-Windows-Auth&quot;, &quot;Web-WMI&quot; -restart

}

# Windows Server 2012
 if ((Get-WMIObject win32_OperatingSystem).Version -eq &quot;6.2.9200&quot;) {

Install-WindowsFeature &quot;AS-HTTP-Activation&quot;, &quot;Desktop-Experience&quot;, &quot;NET-Framework-45-Features&quot;, &quot;RPC-over-HTTP-proxy&quot;, &quot;RSAT-Clustering&quot;, &quot;RSAT-Clustering-CmdInterface&quot;, &quot;RSAT-Clustering-Mgmt&quot;, &quot;RSAT-Clustering-PowerShell&quot;, &quot;Web-Mgmt-Console&quot;, &quot;WAS-Process-Model&quot;, &quot;Web-Asp-Net45&quot;, &quot;Web-Basic-Auth&quot;, &quot;Web-Client-Auth&quot;, &quot;Web-Digest-Auth&quot;, &quot;Web-Dir-Browsing&quot;, &quot;Web-Dyn-Compression&quot;, &quot;Web-Http-Errors&quot;, &quot;Web-Http-Logging&quot;, &quot;Web-Http-Redirect&quot;, &quot;Web-Http-Tracing&quot;, &quot;Web-ISAPI-Ext&quot;, &quot;Web-ISAPI-Filter&quot;, &quot;Web-Lgcy-Mgmt-Console&quot;, &quot;Web-Metabase&quot;, &quot;Web-Mgmt-Console&quot;, &quot;Web-Mgmt-Service&quot;, &quot;Web-Net-Ext45&quot;, &quot;Web-Request-Monitor&quot;, &quot;Web-Server&quot;, &quot;Web-Stat-Compression&quot;, &quot;Web-Static-Content&quot;, &quot;Web-Windows-Auth&quot;, &quot;Web-WMI&quot;, &quot;Windows-Identity-Foundation&quot; -restart

}

}

2 {

# Windows Server 2008 R2 SP1
 if ((Get-WMIObject win32_OperatingSystem).Version -eq &quot;6.1.7601&quot;) {

Import-Module ServerManager
 InstallFilterPack
 Add-WindowsFeature &quot;Desktop-Experience&quot;, &quot;NET-Framework&quot;, &quot;NET-HTTP-Activation&quot;, &quot;RPC-over-HTTP-proxy&quot;, &quot;RSAT-Clustering&quot;, &quot;RSAT-Web-Server&quot;, &quot;WAS-Process-Model&quot;, &quot;Web-Asp-Net&quot;, &quot;Web-Basic-Auth&quot;, &quot;Web-Client-Auth&quot;, &quot;Web-Digest-Auth&quot;, &quot;Web-Dir-Browsing&quot;, &quot;Web-Dyn-Compression&quot;, &quot;Web-Http-Errors&quot;, &quot;Web-Http-Logging&quot;, &quot;Web-Http-Redirect&quot;, &quot;Web-Http-Tracing&quot;, &quot;Web-ISAPI-Ext&quot;, &quot;Web-ISAPI-Filter&quot;, &quot;Web-Lgcy-Mgmt-Console&quot;, &quot;Web-Metabase&quot;, &quot;Web-Mgmt-Console&quot;, &quot;Web-Mgmt-Service&quot;, &quot;Web-Net-Ext&quot;, &quot;Web-Request-Monitor&quot;, &quot;Web-Server&quot;, &quot;Web-Stat-Compression&quot;, &quot;Web-Static-Content&quot;, &quot;Web-Windows-Auth&quot;, &quot;Web-WMI&quot; -restart

}

# Windows Server 2012
 if ((Get-WMIObject win32_OperatingSystem).Version -eq &quot;6.2.9200&quot;) {

InstallFilterPack
 Install-WindowsFeature &quot;AS-HTTP-Activation&quot;, &quot;Desktop-Experience&quot;, &quot;NET-Framework-45-Features&quot;, &quot;RPC-over-HTTP-proxy&quot;, &quot;RSAT-Clustering&quot;, &quot;RSAT-Clustering-CmdInterface&quot;, &quot;RSAT-Clustering-Mgmt&quot;, &quot;RSAT-Clustering-PowerShell&quot;, &quot;Web-Mgmt-Console&quot;, &quot;WAS-Process-Model&quot;, &quot;Web-Asp-Net45&quot;, &quot;Web-Basic-Auth&quot;, &quot;Web-Client-Auth&quot;, &quot;Web-Digest-Auth&quot;, &quot;Web-Dir-Browsing&quot;, &quot;Web-Dyn-Compression&quot;, &quot;Web-Http-Errors&quot;, &quot;Web-Http-Logging&quot;, &quot;Web-Http-Redirect&quot;, &quot;Web-Http-Tracing&quot;, &quot;Web-ISAPI-Ext&quot;, &quot;Web-ISAPI-Filter&quot;, &quot;Web-Lgcy-Mgmt-Console&quot;, &quot;Web-Metabase&quot;, &quot;Web-Mgmt-Console&quot;, &quot;Web-Mgmt-Service&quot;, &quot;Web-Net-Ext45&quot;, &quot;Web-Request-Monitor&quot;, &quot;Web-Server&quot;, &quot;Web-Stat-Compression&quot;, &quot;Web-Static-Content&quot;, &quot;Web-Windows-Auth&quot;, &quot;Web-WMI&quot;, &quot;Windows-Identity-Foundation&quot; -restart

}

}

3 {

if ((Get-WMIObject win32_OperatingSystem).Version -eq &quot;6.1.7601&quot;) {

Import-Module ServerManager
 InstallFilterPack
 Add-WindowsFeature &quot;Desktop-Experience&quot;, &quot;NET-Framework&quot;, &quot;NET-HTTP-Activation&quot;, &quot;RPC-over-HTTP-proxy&quot;, &quot;RSAT-Clustering&quot;, &quot;RSAT-Web-Server&quot;, &quot;WAS-Process-Model&quot;, &quot;Web-Asp-Net&quot;, &quot;Web-Basic-Auth&quot;, &quot;Web-Client-Auth&quot;, &quot;Web-Digest-Auth&quot;, &quot;Web-Dir-Browsing&quot;, &quot;Web-Dyn-Compression&quot;, &quot;Web-Http-Errors&quot;, &quot;Web-Http-Logging&quot;, &quot;Web-Http-Redirect&quot;, &quot;Web-Http-Tracing&quot;, &quot;Web-ISAPI-Ext&quot;, &quot;Web-ISAPI-Filter&quot;, &quot;Web-Lgcy-Mgmt-Console&quot;, &quot;Web-Metabase&quot;, &quot;Web-Mgmt-Console&quot;, &quot;Web-Mgmt-Service&quot;, &quot;Web-Net-Ext&quot;, &quot;Web-Request-Monitor&quot;, &quot;Web-Server&quot;, &quot;Web-Stat-Compression&quot;, &quot;Web-Static-Content&quot;, &quot;Web-Windows-Auth&quot;, &quot;Web-WMI&quot; -restart

}

# Windows Server 2012
 if ((Get-WMIObject win32_OperatingSystem).Version -eq &quot;6.2.9200&quot;) {

InstallFilterPack
 Install-WindowsFeature &quot;AS-HTTP-Activation&quot;, &quot;Desktop-Experience&quot;, &quot;NET-Framework-45-Features&quot;, &quot;RPC-over-HTTP-proxy&quot;, &quot;RSAT-Clustering&quot;, &quot;RSAT-Clustering-CmdInterface&quot;, &quot;RSAT-Clustering-Mgmt&quot;, &quot;RSAT-Clustering-PowerShell&quot;, &quot;Web-Mgmt-Console&quot;, &quot;WAS-Process-Model&quot;, &quot;Web-Asp-Net45&quot;, &quot;Web-Basic-Auth&quot;, &quot;Web-Client-Auth&quot;, &quot;Web-Digest-Auth&quot;, &quot;Web-Dir-Browsing&quot;, &quot;Web-Dyn-Compression&quot;, &quot;Web-Http-Errors&quot;, &quot;Web-Http-Logging&quot;, &quot;Web-Http-Redirect&quot;, &quot;Web-Http-Tracing&quot;, &quot;Web-ISAPI-Ext&quot;, &quot;Web-ISAPI-Filter&quot;, &quot;Web-Lgcy-Mgmt-Console&quot;, &quot;Web-Metabase&quot;, &quot;Web-Mgmt-Console&quot;, &quot;Web-Mgmt-Service&quot;, &quot;Web-Net-Ext45&quot;, &quot;Web-Request-Monitor&quot;, &quot;Web-Server&quot;, &quot;Web-Stat-Compression&quot;, &quot;Web-Static-Content&quot;, &quot;Web-Windows-Auth&quot;, &quot;Web-WMI&quot;, &quot;Windows-Identity-Foundation&quot; -restart

}

}
 10 {
 # future - auto detect Internet access
 write-host 'Can this server access the Internet?'
 $filtpack = read-host 'Please type (Y)es or (N)o...'
 switch ($filtpack)                {
 Y { InstallFilterPack }
 N {Write-warning 'Please download and install Microsoft Filter Pack from here: &lt;a href=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=26604&quot;&gt;http://www.microsoft.com/en-us/download/details.aspx?id=26604&lt;/a&gt; and &lt;a href=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=17062'}&quot;&gt;http://www.microsoft.com/en-us/download/details.aspx?id=17062'}&lt;/a&gt;
 }
 }
 11 {
 # future - auto detect Internet access
 write-host 'Can this server access the Internet?'
 $umapi = read-host 'Please type (Y)es or (N)o...'
 switch ($umapi)                {
 Y { InstallUMAPI }
 N {Write-warning 'Please download and install Microsoft UM API from here: &lt;a href=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=34992'}&quot;&gt;http://www.microsoft.com/en-us/download/details.aspx?id=34992'}&lt;/a&gt;
 }
 }
 12 { Disable-UAC }
 13 { Disable-FW }
 15 { Restart-Computer }
 16 {
 Write-Host &quot;Exiting...&quot;
 Exit
 }
 default {write-host &quot;You haven't selected any of the available options. &quot;}
 }
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.testlabs.se/blog/2013/04/05/exchange-2013-script-automatic-installation-of-prerequisites/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Author of a book &#8211; PowerShell cookbook</title>
		<link>http://www.testlabs.se/blog/2013/03/26/author-of-a-book-powershell-cookbook/</link>
		<comments>http://www.testlabs.se/blog/2013/03/26/author-of-a-book-powershell-cookbook/#comments</comments>
		<pubDate>Tue, 26 Mar 2013 08:56:14 +0000</pubDate>
		<dc:creator>Jonas Andersson</dc:creator>
				<category><![CDATA[Exchange 2013]]></category>
		<category><![CDATA[Author]]></category>
		<category><![CDATA[Book]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Exchange Server 2013]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.testlabs.se/blog/?p=2898</guid>
		<description><![CDATA[If you have missed the news on my twitter, I can tell you that the last 6 months I’ve been busy with writing a book called “Microsoft Exchange 2013 PowerShell Cookbook: second edition” for Packt Publishing. That’s also why the blog not have been updated that much lately, now it’s time to startup with the ]]></description>
				<content:encoded><![CDATA[<p>If you have missed the news on my twitter, I can tell you that the last 6 months I’ve been busy with writing a book called “<strong>Microsoft Exchange 2013 PowerShell Cookbook: second edition</strong>” for <a href="http://www.packtpub.com/" target="_blank">Packt Publishing</a>.</p>
<p>That’s also why the blog not have been updated that much lately, now it’s time to startup with the activities for the online community work again since the book more or less is completed. Just doing the final updates of the chapters. I want to thank both <strong><a href="http://www.andersonpatricio.org/" target="_blank">Anderson Patricio [MVP]</a></strong> and <strong><a href="http://marcelovighi.wordpress.com" target="_blank">Marcelo Vighi [MVP]</a></strong> for doing a great job with the review.<br />
I also want to send a special thank you to <a href="http://mailmaster.se/blog/" target="_blank"><strong>Magnus Björk [MVP]</strong></a> for helping me out when bugs were found.</p>
<p>It have been a great experience doing this project, both exciting and exhausting in the same time because of high tempo and tight time schedules. But I can recommend everyone that thinking of doing this kind of job, DO IT!</p>
<p>You might wonder when it will be released? <strong>mid June..</strong></p>
<p>More info about the book can be found here:<br />
<a title="http://www.packtpub.com/microsoft-exchange-server-2013-powershell-2e-cookbook/book" href="http://www.packtpub.com/microsoft-exchange-server-2013-powershell-2e-cookbook/book">http://www.packtpub.com/microsoft-exchange-server-2013-powershell-2e-cookbook/book</a><br />
<a title="http://www.amazon.com/Microsoft-Exchange-PowerShell-Cookbook-ebook/dp/B00BP47WHE/ref=sr_1_1?s=digital-text&amp;ie=UTF8&amp;qid=1364252267&amp;sr=1-1" href="http://www.amazon.com/Microsoft-Exchange-PowerShell-Cookbook-ebook/dp/B00BP47WHE/ref=sr_1_1?s=digital-text&amp;ie=UTF8&amp;qid=1364252267&amp;sr=1-1">http://www.amazon.com/Microsoft-Exchange-PowerShell-Cookbook-ebook/dp/B00BP47WHE/ref=sr_1_1?s=digital-text&amp;ie=UTF8&amp;qid=1364252267&amp;sr=1-1</a></p>
<p>And some information about me:<br />
<a title="http://www.packtpub.com/authors/profiles/jonas-andersson" href="http://www.packtpub.com/authors/profiles/jonas-andersson">http://www.packtpub.com/authors/profiles/jonas-andersson</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.testlabs.se/blog/2013/03/26/author-of-a-book-powershell-cookbook/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>How to set &#8220;office&#8221; value for multiple Shared Mailboxes</title>
		<link>http://www.testlabs.se/blog/2013/02/25/how-to-set-office-value-for-multiple-shared-mailboxes/</link>
		<comments>http://www.testlabs.se/blog/2013/02/25/how-to-set-office-value-for-multiple-shared-mailboxes/#comments</comments>
		<pubDate>Mon, 25 Feb 2013 20:38:55 +0000</pubDate>
		<dc:creator>Jonas Andersson</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Exchange 2013]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Mailbox]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://www.testlabs.se/blog/?p=2882</guid>
		<description><![CDATA[Published: 2013-02-25 Updated: - Version: 1.0 This script was developed because there was a need to configure every Shared Mailbox with a office value. In Exchange the value is called “Office” while in Active Directory this value is called “physicalDeliveryOfficeName”. The script is retrieving all shared mailboxes where the office value isn’t populated and creates ]]></description>
				<content:encoded><![CDATA[<p><strong>Published: 2013-02-25<br />
Updated: -<br />
Version: 1.0</strong></p>
<p>This script was developed because there was a need to configure every Shared Mailbox with a office value. In Exchange the value is called “Office” while in Active Directory this value is called “physicalDeliveryOfficeName”.</p>
<p>The script is retrieving all shared mailboxes where the office value isn’t populated and creates an array of these mailboxes. It includes a couple of attributes.</p>
<p>It does give you the opportunity to verify the changes that will be done, before they are done.<br />
The array is showed to the screen and also saved as a CSV file called “pre-report-$timestamp.csv”</p>
<p>From each of the shared mailboxes, the script will bring the office value from the corresponding manager and put that value into respective shared mailbox office attribute value.</p>
<p>If there are no manager configured for any of the shared mailboxes, a log file will be created called “no-manager-configured-report.txt” and if there are no office attribute value configured on the managers, a log file will be created called “no-office-configured-report.txt”</p>
<p>When the script is completed, a log file will be created called “completed-report-$timestamp.txt” with the changes that have been done.</p>
<pre class="brush: powershell; title: ; notranslate">
####################################################################
# SetOffice.ps1
# Description:
# This PowerShell script will stamp the office field for every shared mailbox
# that doesn't have a value set. The value will be collected from each manager
# If no Manager is set, the script will not stamp the office value
#
# Jonas Andersson, MCC 2011 and 2012
# http://www.testlabs.se/blog
# Twitter @jonand82
####################################################################&lt;/pre&gt;
Write-Host &quot;Starting script..&quot; -ForegroundColor White -BackgroundColor Black

$ou = &quot;target.local/Resource Mailboxes&quot;

Write-Host 'Retrieving all Shared Mailboxes without &quot;Office&quot; value..' -ForegroundColor White -BackgroundColor Black

$UserList = Get-User -ResultSize unlimited -OrganizationalUnit $ou -RecipientTypeDetails SharedMailbox -Filter {Office -eq $null}

$MasterList = @()
 foreach ($User in $UserList)
 {
 $MyObject = New-Object PSObject -Property @{

Mailbox = (Get-User -Identity $User).DistinguishedName
 Manager = ((Get-User -Identity $User).Manager).DistinguishedName
 Manage = (Get-User -Identity $User).Manager | ForEach-Object{
 $o = (Get-User $_).Office
 }

Office = $o
 }

$MasterList += $MyObject
 }

if ((Read-Host 'Show and save list, the listed shared mailboxes? (Y/N)') -eq 'Y' )
 {
 $MasterList | Select Mailbox,Manager,Office

$timestamp = Get-Date -UFormat %Y%m%d-%H%M
 $reportfile = &quot;.\pre-report-$timestamp.csv&quot;
 $MasterList | Select Mailbox,Manager,Office | Export-CSV $reportfile -Encoding Unicode -Notype

Write-Host 'The file is saved as '$reportfile''
 }

if ((Read-Host 'Start the configuration? (Y/N)') -eq 'Y')
 {
 Write-Host 'Starting the script..' -ForegroundColor White -BackgroundColor Black
 Foreach ($item in $MasterList)
 {

if (($item.Manager -eq $null) -or ($item.Manager -eq &quot;&quot;))
 {
 Write-Host 'Item '$item.Mailbox' doesnt have a Manager configured!' -ForegroundColor Red -BackgroundColor Black
 $reportfile = &quot;no-manager-configured-report.txt&quot;
 $empty = $item.Mailbox,$item.Manager,$item.Office
 $empty | Out-File -FilePath $reportfile -Append

}

if (($item.Office -eq $null) -or ($item.Office -eq &quot;&quot;))
 {
 Write-Host 'Item '$item.Manager' doesnt have a Office value configured!' -ForegroundColor Red -BackgroundColor Black
 $reportfile = &quot;no-office-configured-report.txt&quot;
 $empty = $item.Mailbox,$item.Manager,$item.Office
 $empty | Out-File -FilePath $reportfile -Append

}

else
 {
 Write-Host 'Configuring the value for item'$item.Mailbox'to'$item.Office'' -ForegroundColor White -BackgroundColor Black -
 Set-Mailbox -Identity $item.Mailbox -Office $item.Office

$timestamp = Get-Date -UFormat %Y%m%d-%H%M
 $reportfile = &quot;completed-report-$timestamp.txt&quot;
 $list = $item.Mailbox,$item.Manager,$item.Office
 $list | Out-File -FilePath $reportfile -Append

}
 }

}

else{
 exit
 }
 </pre>
<p>You can use this script for free, just make sure to test it in a lab environment before, I take no responsibility for any actions and I can’t give any support for it.<br />
Feel free to use the script, edit it, publish it. If you do, please make sure to link back to the blog post url.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2013/02/SetOffice_testlabs.se_.zip" target="_blank">Download script</a></p>
<p>Regards,<br />
Jonas</p>
]]></content:encoded>
			<wfw:commentRss>http://www.testlabs.se/blog/2013/02/25/how-to-set-office-value-for-multiple-shared-mailboxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A summary of year 2012</title>
		<link>http://www.testlabs.se/blog/2012/12/28/a-summary-of-year-2012/</link>
		<comments>http://www.testlabs.se/blog/2012/12/28/a-summary-of-year-2012/#comments</comments>
		<pubDate>Fri, 28 Dec 2012 07:48:02 +0000</pubDate>
		<dc:creator>Jonas Andersson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[2012]]></category>
		<category><![CDATA[Commnity]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[MEC]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.testlabs.se/blog/?p=2849</guid>
		<description><![CDATA[It has been an amazing year for me in many ways, both private and work related things. But this post keeps the focus on the work related things.. I’ve been involved in a couple of really interesting projects such as a large coexistence between Domino and Exchange (45-50k users), coexistence between Domino and Office 365. ]]></description>
				<content:encoded><![CDATA[<p><img alt="" src="http://wellingtonhousebcn.files.wordpress.com/2011/12/new_year_2012.jpg" width="186" height="103" /></p>
<p>It has been an amazing year for me in many ways, both private and work related things.<br />
But this post keeps the focus on the work related things..</p>
<p>I’ve been involved in a couple of really interesting projects such as a large coexistence between Domino and Exchange (45-50k users), coexistence between Domino and Office 365. Also migrated lots of mailboxes from Domino to Exchange. Besides the “complex” migration projects, I’ve also been involved in a large Exchange transition and storage design with 25-30k users for a customer.</p>
<p>Together with all these projects I was one of the lucky people that were sent to Orlando in September for attending the MEC 2012, which was really good. Lots of great new contents to me and lots of interesting people.</p>
<p>Regarding the community related things, I’m not active anymore at the TechNet forum because I want to spend that time of sharing articles with you out there instead. The <a href="http://social.technet.microsoft.com/Forums/en-US/categories" target="_blank">forum</a> is a great place to ask questions or search for issues. This post is written the 27th and the 28th of December, at that time I can look back and see that lots of people have found my blog and hopefully you find it attractive. The blog have had around 90k visitors and 130k pageviews year 2012, compared with 2011 which had 40k visitors and 50k pageviews, which is an amazing growth!</p>
<p>I did write a couple of new fresh posts about <a href="http://www.testlabs.se/blog/articles/exchange-2013/" target="_blank">Exchange 2013</a>, when it still was in a preview version.<br />
I’m really happy that I did post these and shared them with you, in the end I got an offer from <a href="http://www.packtpub.com/" target="_blank">Packt Publishing</a> to write an update on a book that <strong><a href="http://www.mikepfeiffer.net/" target="_blank">Mike Pfeiffer</a></strong> wrote for Exchange 2010 SP1, called “<a href="http://www.packtpub.com/microsoft-exchange-server-2010-with-windows-powershell-cookbook/book" target="_blank">Microsoft Exchange 2010 </a><a href="http://www.packtpub.com/microsoft-exchange-server-2010-with-windows-powershell-cookbook/book" target="_blank">PowerShell Cookbook</a>” which is a true honor to me that I’m really proud of. So you might have wondered why I haven’t posted so much this autumn, there’s the answer <img src='http://www.testlabs.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now, I just want to say thanks to all of you out there that keeps reading my blog and comment on posts! Happy new year everyone! See you out there in 2013 <img src='http://www.testlabs.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.testlabs.se/blog/2012/12/28/a-summary-of-year-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Complete guide on configuring KEMP VLM load balancer for Exchange 2013</title>
		<link>http://www.testlabs.se/blog/2012/11/02/complete-guide-on-configuring-kemp-vlm-load-balancer-for-exchange-2013/</link>
		<comments>http://www.testlabs.se/blog/2012/11/02/complete-guide-on-configuring-kemp-vlm-load-balancer-for-exchange-2013/#comments</comments>
		<pubDate>Fri, 02 Nov 2012 08:00:14 +0000</pubDate>
		<dc:creator>Jonas Andersson</dc:creator>
				<category><![CDATA[Exchange 2013]]></category>
		<category><![CDATA[CAS Array]]></category>
		<category><![CDATA[Client Access]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[HWLB]]></category>
		<category><![CDATA[Kemp]]></category>
		<category><![CDATA[LB]]></category>
		<category><![CDATA[Load Balancer]]></category>

		<guid isPermaLink="false">http://www.testlabs.se/blog/?p=2824</guid>
		<description><![CDATA[Introduction Published: 2012-11-02 Updated: 2013-04-24 Version: 1.1 Update: Made some updates regarding the health check for the OWA and Outlook Anywhere service. Since Exchange Server 2013 reached RTM the 11th of October, and finally it was published to MSDN the 24th of October. This post is based on the RTM version of Exchange 2013. I ]]></description>
				<content:encoded><![CDATA[<h5>Introduction</h5>
<p><strong>Published</strong>: 2012-11-02<br />
<strong>Updated</strong>: 2013-04-24<br />
<strong>Version</strong>: 1.1</p>
<p><strong><em>Update:</em></strong><br />
<em>Made some updates regarding the health check for the OWA and Outlook Anywhere service.</em></p>
<p>Since Exchange Server 2013 reached RTM the 11th of October, and finally it was published to MSDN the 24th of October. This post is based on the RTM version of Exchange 2013.</p>
<p>I decided to write a post that included both the KEMP configuration together with the Exchange 2013 configuration. I’ve also seen that <a href="http://www.jaapwesselius.com" target="_blank">Jaap Wesselius</a> have posted an article regarding this topic already, it’s my hope that I can fill the gap regarding the complete configuration of both Exchange and the load balancer.</p>
<p>For illustrating my lab environment, see the picture below.</p>
<p>On the left side is the “client” which tries to connect, in the middle is the load balancers and to the right are my two Exchange 2013 servers.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/Drawing12.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Drawing1" alt="Drawing1" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/Drawing1_thumb2.png" width="244" height="131" border="0" /></a></p>
<p>I did decide to have one namespace per service for having a better flexibility, however this is NOT required. But the advantage for having it like this is that the load balancer can check the health of each component. If one component is not working, it’s just disabling that service from the corresponding server, and not the whole server.<br />
But an disadvantage is a increased cost for the certificate and the load balancer get’s a bit more complex.</p>
<p>I’m using the Virtual LoadMaster which resides in different versions (in the end of my post I will provide some links regarding versions etc).</p>
<h5>Initial configuration</h5>
<p>My configuration is a two-leg load balancer, where the first leg is placed into the client network segment and the other leg (NIC) is placed into my server segment.</p>
<p>The initial configuration is done by providing a license key.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image40.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb40.png" width="244" height="125" border="0" /></a></p>
<p>Go to <em>System Configuration –&gt; Interfaces –&gt; eth0</em> for configuring the IP address of the first network card.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image41.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb41.png" width="244" height="125" border="0" /></a></p>
<p><em>System Configuration –&gt; Local DNS Configuration –&gt; Hostname configuration</em> for giving the VLM a hostname.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image42.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb42.png" width="244" height="125" border="0" /></a></p>
<p><em>System Configuration –&gt; Local DNS Configuration –&gt; DNS configuration</em> for configuring the VLM with a domain and DNS server.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image43.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb43.png" width="244" height="125" border="0" /></a></p>
<p><em>System Configuration –&gt; Route Management –&gt; Default Gateway </em>for configuring the VLM with a default gateway.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image44.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb44.png" width="244" height="125" border="0" /></a></p>
<p>Often it’s required to have the VLM understand other networks and can route traffic to them, for configuring additional route go to <em>System Configuration –&gt; Route Management –&gt; Additional Routes.</em></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image45.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb45.png" width="244" height="125" border="0" /></a></p>
<p>Don’t forget to configure the date and time on the VLM, go to <em>System Configuration –&gt; System Administration –&gt; Date/Time. </em>I’ve configured to use “ntp.lth.se” as my NTP server, it’s recommended to use the NTP option.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image73.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb73.png" width="244" height="124" border="0" /></a></p>
<p>When the configuration is done, a good tip is to take a backup of it, go to <em>System Configuration –&gt; <em>System Administration </em>–&gt; Backup/Restore.</em></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image47.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb47.png" width="244" height="125" border="0" /></a></p>
<h5>High Availability configuration</h5>
<p>Kemp is providing a high availability cluster of two load balancing nodes, where one is active and one is passive (standby). I’ve been playing around with it and it works really good. The passive kicks in right away when the active one is broken or restarted/shutdown.</p>
<p>During a restart of the active node the passive becomes the active node.</p>
<p>In general, they share a cluster IP/name where the configuration is done and on each LB node the local settings can be done such as configuring date/time, IP addresses etc.</p>
<p>Start with the first node, for configuring this go to <em>System Configuration –&gt; Miscellaneous Options –&gt; HA Parameters</em>. Set it to “<em>HA Mode: HA (First) Mode”</em>.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image48.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb48.png" width="244" height="124" border="0" /></a></p>
<p>Go to <em>System Configuration –&gt; </em><em>Interfaces –&gt; eth0</em>. Give the load balancer cluster a IP address and also provide the IP address for the second node. Don’t forget to press the “<em>Set Shared address</em>” and “<em>Set Partner address</em>” buttons for saving the configuration. Then go back to <em>System Configuration –&gt; System Administration –&gt; System Reboot</em>. Restart the first node.</p>
<p>When the first node is back online, continue with the second node. Go to <em>System Configuration –&gt; Miscellaneous Options –&gt; HA Parameters</em>. Set it to “<em>HA Mode: HA (Second) Mode”</em>.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image49.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb49.png" width="244" height="124" border="0" /></a></p>
<p>Example of my first node.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image51.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb51.png" width="244" height="125" border="0" /></a></p>
<p>Example of my second node.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image52.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb52.png" width="244" height="125" border="0" /></a></p>
<h5>Creating and configuring load balancing services</h5>
<p>I will create two examples for load balancing services, one for OWA and one for Outlook Anywhere.<br />
Using these examples, you can easily creating services by yourself for the other ones.</p>
<h6>OWA</h6>
<p>Go to <em>Virtual Services –&gt; View/Modify Services –&gt; Add New</em>.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image53.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb53.png" width="244" height="125" border="0" /></a></p>
<p>Type in the IP address for the service in the Virtual Address field, together with port, protocol and name.<br />
Press “<em>Add this Virtual Service</em>”.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image54.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb54.png" width="244" height="124" border="0" /></a></p>
<p>Make sure that “Force L7” is checked, but the “L7 Transparency” is unchecked.<br />
Since Exchange 2013 doesn’t require persistence anymore, make sure that the option is set to “None”.<br />
For the load method/Scheduling method, I’m using Round-Robin which is pretty much spreading the load on all servers.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image55.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px none;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb55.png" width="244" height="125" border="0" /></a></p>
<p><strong>Update</strong>:<br />
Under “<em>Real Servers</em>”, let’s configure the health checks. Make sure it’s set to use HTTPS protocol. This together with Checked Port: “443” and URL: “/owa/healthcheck.htm”. Don’t forget to press the “<em>Set URL</em>” button for saving the settings. Check the option “Use HTTP/1.1” and select GET as the HTTP Method.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2013/04/img561.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px none;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2013/04/img561_thumb.png" width="244" height="125" border="0" /></a></p>
<p>Let’s press the “<em>Add New…</em>” button under “<em>Real Servers</em>”. Add your Exchange 2013 Client Access servers. When all servers are added, press the Back button. (I’m using multirole servers, so all of them are added)</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image57.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb57.png" width="244" height="124" border="0" /></a></p>
<p>When everything is setup it should look like the figure below.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2013/04/img581.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px none;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2013/04/img581_thumb.png" width="244" height="125" border="0" /></a></p>
<p>When you’re satisfied with the configuration, press the Back button. The services should then show up as green if the protocols are available.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image59.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb59.png" width="244" height="125" border="0" /></a></p>
<h6>Outlook Anywhere</h6>
<p>Go to <em>Virtual Services –&gt; View/Modify Services –&gt; Add New.</em></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image60.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb60.png" width="244" height="125" border="0" /></a></p>
<p>Type in the IP address for the service in the Virtual Address field, together with port, protocol and name.<br />
Press “<em>Add this Virtual Service</em>”.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image61.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb61.png" width="244" height="124" border="0" /></a></p>
<p>Make sure that “<em>Force L7</em>” is checked, while the “<em>L7 Transparency</em>” is unchecked.<br />
Since Exchange 2013 doesn’t require persistence anymore, make sure that the option is set to “<em>None</em>”.<br />
For the load method/Scheduling method, I’m using “<em>Round-Robin”</em> which is spreading the load to the servers.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image62.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb62.png" width="244" height="124" border="0" /></a></p>
<p><strong>Update:</strong><br />
Under “<em>Real Servers</em>”, let’s configure the health checks. Make sure it’s set to use HTTPS protocol. This together with Port: 443 and URL: “/rpc/healthcheck.htm”. Don’t forget to press the “<em>Set URL</em>” button for saving the settings. Also check the option “Use HTTP/1.1” and select GET as the HTTP Method.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2013/04/img631.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px none;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2013/04/img631_thumb.png" width="244" height="125" border="0" /></a></p>
<p>Let’s press the<em> “Add New…”</em> button under <em>“Real Servers”</em>. Add your Exchange 2013 Client Access servers. When all servers are added, press the Back button.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image64.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb64.png" width="244" height="125" border="0" /></a></p>
<p>Everything is now setup for load balancing the Outlook Anywhere function.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2013/04/img6311.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px none;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2013/04/img631_thumb1.png" width="244" height="125" border="0" /></a></p>
<p>In the services console, it should look like below if the health is successfully verified.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image66.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb66.png" width="244" height="124" border="0" /></a></p>
<p><strong>Note</strong>: In my lab environment I’ve decided to not use L7 transparency since I don’t have any use for it. It is used when the Client Source IP address needs to show up at the CAS Servers. This can sometimes be important when using SMTP filters. So for proper load balancing, the traffic needs to flow through the load balancer, both back and forth. Therefore you need to change the Default Gateway settings of your servers, when you are activating the L7 Transparency.</p>
<h5>Final tests</h5>
<p>Let’s start with testing the load balancing functions so that Outlook is able to connect and that the connections are spread throughout the servers.</p>
<p>Here’s my final configuration, for clarifying that I’m using five different VIP’s, one for each service.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image67.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb67.png" width="244" height="124" border="0" /></a></p>
<p>The figure below shows that Outlook 2013 profile is getting connected, I was using the autodiscover feature for configuring the Outlook profile. Both the InternalHostname and the ExternalHostname is configured to: outlook.testlabs.se in my scenario, on both my servers. For authentication I’m using NTLM.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image68.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb68.png" width="244" height="106" border="0" /></a></p>
<p>Since Outlook 2013 was worked fine, it’s up to OWA to show up.<br />
I reached the form-based authentication page and put in my credentials and finally got to the Inbox.<br />
Did this a couple of times, together with login into the Admin Center for getting some more sessions in the load balancer.<br />
This for checking so that the VLM spreads the load between the servers in a good way.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image69.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb69.png" width="244" height="106" border="0" /></a></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image70.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb70.png" width="244" height="106" border="0" /></a></p>
<p>Below are two figures that shows how the sessions are spread between the servers.<br />
To me this looks really good!<br />
The first figure shows the servers and how the sessions are spread between them.<br />
The second figure does show the services instead of the servers, this together with the total amount of connections last minute and up to the last hour.</p>
<p>These two figures together shows how the load is spread, since this is just a lab environment I don’t have an large amount of connections. It would be really interesting to see in a large enterprise environment how the load is spread between the servers.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image71.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb71.png" width="244" height="124" border="0" /></a></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image72.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/10/image_thumb72.png" width="244" height="125" border="0" /></a></p>
<h5>Helpful links</h5>
<p>General documentation<br />
<a title="http://www.kemptechnologies.com/emea/loadmaster-documentation-0.html" href="http://www.kemptechnologies.com/documentation" target="_blank">http://www.kemptechnologies.com/documentation</a></p>
<p>Sizing tool for load balancer (Exchange 2010)<br />
<a title="http://www.kemptechnologies.com/emea/loadmaster-sizing-for-ms-exchange-2010.html" href="http://www.kemptechnologies.com/emea/loadmaster-sizing-for-ms-exchange-2010.html" target="_blank">http://www.kemptechnologies.com/emea/loadmaster-sizing-for-ms-exchange-2010.html</a></p>
<p>Deployment guide<br />
<a title="http://www.kemptechnologies.com/fileadmin/content/pdf/KEMP_Exchange_2010_Deployment_Guide_5_1_v1.6.pdf" href="http://www.kemptechnologies.com/fileadmin/content/pdf/KEMP_Exchange_2010_Deployment_Guide_5_1_v1.6.pdf" target="_blank">http://www.kemptechnologies.com/fileadmin/content/pdf/KEMP_Exchange_2010_Deployment_Guide_5_1_v1.6.pdf</a></p>
<p>Compare Load Balancer models<br />
<a title="http://www.kemptechnologies.com/emea/products/server-load-balancing-internet-router-load-balancer.html" href="http://www.kemptechnologies.com/emea/products/server-load-balancing-internet-router-load-balancer.html" target="_blank">http://www.kemptechnologies.com/emea/products/server-load-balancing-internet-router-load-balancer.html</a></p>
<p>Exchange Load Balancers<br />
<a title="http://www.kemptechnologies.com/emea/loadbalancingresource/ms-exchange-2010.html" href="http://www.kemptechnologies.com/emea/loadbalancingresource/ms-exchange-2010.html" target="_blank">http://www.kemptechnologies.com/emea/loadbalancingresource/ms-exchange-2010.html</a></p>
<p>Virtual Load Balancers<br />
<a title="http://www.kemptechnologies.com/emea/products/virtual-load-balancers/vlm-overview.html" href="http://www.kemptechnologies.com/emea/products/virtual-load-balancers/vlm-overview.html" target="_blank">http://www.kemptechnologies.com/emea/products/virtual-load-balancers/vlm-overview.html</a></p>
<p>Multi-Site Load Balancers<br />
<a title="http://www.kemptechnologies.com/emea/products/multi-site-load-balancers/overview.html" href="http://www.kemptechnologies.com/emea/products/multi-site-load-balancers/overview.html" target="_blank">http://www.kemptechnologies.com/emea/products/multi-site-load-balancers/overview.html</a></p>
<p>Thanks for reading!<br />
I hope that this was informative and interesting to read, please feel free to provide feedback</p>
<p>Regards,<br />
<a href="mailto: jonas.andersson@testlabs.se" target="_blank">Jonas Andersson</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.testlabs.se/blog/2012/11/02/complete-guide-on-configuring-kemp-vlm-load-balancer-for-exchange-2013/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Wave 15 is now RTM</title>
		<link>http://www.testlabs.se/blog/2012/10/13/wave-15-is-now-rtm/</link>
		<comments>http://www.testlabs.se/blog/2012/10/13/wave-15-is-now-rtm/#comments</comments>
		<pubDate>Sat, 13 Oct 2012 16:13:12 +0000</pubDate>
		<dc:creator>Jonas Andersson</dc:creator>
				<category><![CDATA[Exchange 2013]]></category>
		<category><![CDATA[Lync 2013]]></category>
		<category><![CDATA[Sharepoint 2013]]></category>
		<category><![CDATA[Wave 15]]></category>

		<guid isPermaLink="false">http://www.testlabs.se/blog/?p=2636</guid>
		<description><![CDATA[If you haven’t seen it already, the whole Wave 15 has reached RTM state, which means that the code is ready. This means that Office 2013, Lync 2013, Exchange 2013 and Sharepoint 2013 is now code completed. The software will be available for download in mid November. More information can be found on Exchange Team ]]></description>
				<content:encoded><![CDATA[<p>If you haven’t seen it already, the whole Wave 15 has reached RTM state, which means that the code is ready.<br />
This means that Office 2013, Lync 2013, Exchange 2013 and Sharepoint 2013 is now code completed.</p>
<p>The software will be available for download in mid November.</p>
<p>More information can be found on <a href="http://blogs.technet.com/b/exchange/archive/2012/10/11/the-new-exchange-reaches-rtm.aspx" target="_blank">Exchange Team blog</a>.</p>
<p>Another update regarding Exchange is that Microsoft re-released the Update Rollups.<br />
Exchange 2010 UR4 for SP2 was re-released as UR4 v2, <a href="http://www.microsoft.com/en-us/download/details.aspx?id=34956" target="_blank">more info/download</a>.<br />
Exchange 2010 UR7 for SP1 was re-released as UR7 v2, <a href="http://www.microsoft.com/en-us/download/details.aspx?id=34957" target="_blank">more info/download</a>.<br />
Exchange 2007 UR8 for SP3 was re-released as UR8 v2, <a href="http://www.microsoft.com/en-us/download/details.aspx?id=34959" target="_blank">more info/download</a>.</p>
<p>Since my last post I’ve had a great time attending MEC in Orlando, lots of great contents and met a lot of inspiring people.</p>
<p>In the upcoming weeks I will try to publish the next post, regarding load balancing for Exchange 2013 Preview. (It will be updated when the RTM is downloadable if there are any changes).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.testlabs.se/blog/2012/10/13/wave-15-is-now-rtm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange Server 2013 Preview &#8211; Part 4: Configure DAG, CAS Array and Public Folders</title>
		<link>http://www.testlabs.se/blog/2012/08/01/exchange-server-2013-preview-part-4-configure-dag-cas-array-and-public-folders/</link>
		<comments>http://www.testlabs.se/blog/2012/08/01/exchange-server-2013-preview-part-4-configure-dag-cas-array-and-public-folders/#comments</comments>
		<pubDate>Wed, 01 Aug 2012 18:18:48 +0000</pubDate>
		<dc:creator>Jonas Andersson</dc:creator>
				<category><![CDATA[Exchange 2013]]></category>
		<category><![CDATA[CAS Array]]></category>
		<category><![CDATA[DAG]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Exchange 2013 Configuration guide]]></category>
		<category><![CDATA[Exchange 2013 Installation guide]]></category>
		<category><![CDATA[High Availability]]></category>
		<category><![CDATA[Public Folders]]></category>

		<guid isPermaLink="false">http://www.testlabs.se/blog/?p=2622</guid>
		<description><![CDATA[In this series of posts, you can read about the fresh release of Exchange 2013 beta/Preview. The posts are done as “how-to” posts with configuration examples from both Exchange Administration Console (EAC) and Exchange Management Shell (EMS). Earlier parts can be found below: Part 1: Installation guide Part 2: Basic configuration Part 3: Continue of ]]></description>
				<content:encoded><![CDATA[<p>In this series of posts, you can read about the fresh release of Exchange 2013 beta/Preview.<br />
The posts are done as “how-to” posts with configuration examples from both Exchange Administration Console (EAC) and Exchange Management Shell (EMS).</p>
<p>Earlier parts can be found below:</p>
<p><a href="http://www.testlabs.se/blog/2012/07/17/exchange-server-2013-preview-complete-guide-of-how-to-perform-the-installation/" target="_blank">Part 1: Installation guide</a><br />
<a href="http://www.testlabs.se/blog/2012/07/20/exchange-server-2013-preview-part-2-how-to-do-the-basic-configuration/" target="_blank">Part 2: Basic configuration</a><br />
<a href="http://www.testlabs.se/blog/2012/07/25/exchange-server-2013-preview-part-3-how-to-configure-site-urls-databases-and-outlook-anywhere/" target="_blank">Part 3: Continue of configuration, URL’s etc.</a></p>
<p>At the end of the post, I will link to some interesting TechNet articles around High Availability, Disaster Recovery, Site resilience and Public Folder migration.</p>
<p><strong>Note</strong>: My posts around Exchange 2013 Preview/beta are based on Beta information and it could be changed before it will be released (RTM).</p>
<h6></h6>
<h6>Database Availability Group (DAG)</h6>
<p>If this expression is new to you, here are some background information.<br />
The DAG is the new cluster technology from Exchange 2010 and also included in 2013. It give us the opportunity to have a mailbox database replicated between two or more servers, the DAG can have utilize up to 16 copies of each database (16 different servers). The advantage of this is that if one server fails, it’s easy and very fast for doing switchover/failover to another server.</p>
<p>Some interesting changes around databases are that each database runs under it’s own process in Windows. Store (ESE) is totally rewritten, again.. which means you can’t use databases from older versions of Exchange directly on Exchange 2013. I have also read that IOPS requirements for databases have been reduced with another 50% from Exchange 2010, but I haven’t read it officially so maybe it’s just a rumor. We’ll see what happens when it’s being release and probably Microsoft will release an update mailbox calculator.</p>
<p>DAG is available for both Standard and Enterprise version of Exchange, and supported to run on both Windows 2008 R2 and Windows Server 8. Though all DAG members needs to run the same OS version.</p>
<p>Let’s get ready to create the DAG and add the Databases as copies on each DAG member/node.</p>
<p><strong>Using EAC</strong>: It’s time to like the new EAC “console”.</p>
<p>Running “ipconfig” on both mailbox servers, for checking the IP addresses. Both for the MAPI network and the Replication network.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image155.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb155.png" alt="image" width="244" height="191" border="0" /></a></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image156.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb156.png" alt="image" width="244" height="222" border="0" /></a></p>
<p>Go into Control Panel and check the network interfaces,</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image157.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb157.png" alt="image" width="244" height="148" border="0" /></a></p>
<p>Login to the EAC, go to Servers and select Database Availability Group. Press Add button (+).</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image158.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb158.png" alt="image" width="244" height="134" border="0" /></a></p>
<p>Type in DAG name, Witness Server, Witness directory and DAG IP. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image159.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb159.png" alt="image" width="201" height="244" border="0" /></a></p>
<p>When the DAG is created, select it and Press Edit. Check the option “Configure database availability group network manually”. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image160.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb160.png" alt="image" width="244" height="207" border="0" /></a></p>
<p>It’s now time for adding the mailbox servers into the DAG, this by pressing “Manage membership” button.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image181.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb181.png" alt="image" width="244" height="84" border="0" /></a></p>
<p>Press the Add button (+) and add the mailbox servers.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image161.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb161.png" alt="image" width="201" height="244" border="0" /></a></p>
<p>Add the mailbox servers that should reside in the DAG. Press OK.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image162.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb162.png" alt="image" width="188" height="244" border="0" /></a></p>
<p>Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image163.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb163.png" alt="image" width="200" height="244" border="0" /></a></p>
<p>The configuration now gets saved, failover clustering was installed on mailbox servers. Press Close.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image164.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb164.png" alt="image" width="200" height="244" border="0" /></a></p>
<p>Next thing to do it the DAG Networks, as you can see in the right bottom corner, a network called “MapiDagNetwork” has been created. I want to have the control over these networks so I will create my own.<br />
Start by pressing “New DAG Network”. I’m about to create two new networks.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image165.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb165.png" alt="image" width="244" height="101" border="0" /></a></p>
<p>I will give the first network a name like MAPI Network, and assign the Subnet to it where the clients are supposed to connect. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image166.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb166.png" alt="image" width="244" height="207" border="0" /></a></p>
<p>My second network will be called Replication Network, since that it’s purpose and also assign it to the correct Subnet. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image167.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb167.png" alt="image" width="244" height="207" border="0" /></a>¨</p>
<p>Since we now have created those two network, let’s remove the automatic created one by pressing “Remove” button.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image168.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb168.png" alt="image" width="244" height="101" border="0" /></a></p>
<p>Press OK.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image169.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb169.png" alt="image" width="244" height="103" border="0" /></a></p>
<p>The MAPI Network is not supposed to be used as replication network, so let’s disable that function by pressing “Disable Replication” on the MAPI network. Press OK.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image170.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb170.png" alt="image" width="244" height="103" border="0" /></a></p>
<p>The DAG should now show two networks called MAPI and Replication. The MAPI Network should not be enabled for replication.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image171.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb171.png" alt="image" width="244" height="102" border="0" /></a></p>
<p><strong>Final DAG configuration</strong></p>
<p>The last step (just a recommendation) is to enable the DAC mode, this for preventing split brain syndrome. Which means that you end up with having same database mounted on two (or more) different servers. More info about DAC mode can be found on the link in the end of the post.</p>
<p>This can’t be done through EAC (maybe that will change to RTM). So let’s start up Exchange Management Shell (EMC).</p>
<p><em>Set-DatabaseAvailabilityGroup –Identity DAG01 –DatacenterActivationMode DagOnly</em></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image182.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb182.png" alt="image" width="244" height="89" border="0" /></a></p>
<p><strong>Database copies</strong></p>
<p>On each mailbox database we now need to add a copy to another server for having the redundancy.</p>
<p>In the menu, go to Databases and select one database, then press the Add database copy button.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image172.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb172.png" alt="image" width="244" height="110" border="0" /></a></p>
<p>Specify mailbox server that at the moments doesn’t hold a copy of the database and add it by pressing the browse button. Press Save.</p>
<p><strong>Note</strong>: In this menu you also have the option to configure lag time (if using lagging node).</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image173.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb173.png" alt="image" width="244" height="207" border="0" /></a></p>
<p>The database now get’s copied (Seeding).</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image174.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb174.png" alt="image" width="244" height="207" border="0" /></a></p>
<p>Then do the same procedure on all of your databases.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image175.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb175.png" alt="image" width="244" height="208" border="0" /></a></p>
<p>Press Close, when the operation is done.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image176.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb176.png" alt="image" width="244" height="207" border="0" /></a></p>
<p>Do the same procedure on all of your databases.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image177.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb177.png" alt="image" width="244" height="207" border="0" /></a></p>
<p>The seeding operation is running.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image178.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb178.png" alt="image" width="244" height="206" border="0" /></a></p>
<p>Press Close.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image179.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb179.png" alt="image" width="244" height="207" border="0" /></a></p>
<p>It might take a while (some minutes..) until it get’s Healthy and everything has been checked and verified.<br />
In my test environment it took around 15min to be fine. It should look like the picture below when everything is completed.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image180.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb180.png" alt="image" width="244" height="110" border="0" /></a></p>
<p><strong>Using PowerShell</strong>: The Web interface is nice to work with. But I prefer the PowerShell, because I have the full control over what’s going on.</p>
<p>Let’s start with creating the DAG by using the command below:</p>
<p><em>New-DatabaseAvailabilityGroup –Name DAG01 –WitnessServer TLCAS01 –WitnessDirectory C:\FSW_DAG01 –DatabaseAvailabilityGroupIpAddresses 172.16.1.15</em></p>
<p>Configure the DAG so that the networks can be manually configured:<br />
<em>Set-DatabaseAvailabilityGroup –Identity DAG01 –ManualDagNetworkConfiguration $True</em></p>
<p>Add the mailbox servers into the DAG:<br />
<em>Add-DatabaseAvailabilityGroupServer –Identity DAG01 –MailboxServer TLMB01<br />
Add-DatabaseAvailabilityGroupServer –Identity DAG01 –MailboxServer TLMB02</em></p>
<p>Enable DAC mode for the DAG:<br />
<em>Set-DatabaseAvailabilityGroup –Identity DAG01 –DatacenterActivationMode DagOnly</em></p>
<p>List the DAG Networks:<br />
<em>Get-DatabaseAvailabilityGroupNetwork</em></p>
<p>Create two new DAG Networks, one for Mapi and one for Replication:<br />
<em>New-DatabaseAvailabilityGroupNetwork –DatabaseAvailabilityGroup DAG01 –Name Mapi –Description “Mapi Network” –ReplicationEnabled $False –Subnets “172.16.1.0/24”</em></p>
<p><em>New-DatabaseAvailabilityGroupNetwork –DatabaseAvailabilityGroup DAG01 –Name Replication –Description “Replication Network” –ReplicationEnabled $True –Subnets “10.0.0.0/8”</em></p>
<p>Remove the automated created network, it will not be used:<br />
<em>Remove-DatabaseAvailabilityGroupNetwork –Identity DAG01\MapiDagNetwork</em></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image183.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb183.png" alt="image" width="244" height="148" border="0" /></a></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image184.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb184.png" alt="image" width="244" height="148" border="0" /></a></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image185.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb185.png" alt="image" width="244" height="154" border="0" /></a></p>
<p><strong>Database copies</strong></p>
<p>On each mailbox database we now need to add a copy to another server for having the redundancy.</p>
<p>Specify a mailbox server that at the moments doesn’t hold a copy of the database and add it by running the following commands.</p>
<p><em>Add-MailboxDatabaseCopy –Identity DB01 –MailboxServer TLMB02<br />
Add-MailboxDatabaseCopy –Identity DB02 –MailboxServer TLMB02<br />
Add-MailboxDatabaseCopy –Identity DB03 –MailboxServer TLMB02</em></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image_thumb.png" alt="image" width="244" height="88" border="0" /></a></p>
<p>Verify the replication status on each mailbox server:<br />
<em>Get-MailboxDatabaseCopyStatus –Server TLMB01<br />
Get-MailboxDatabaseCopyStatus –Server TLMB02</em></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image186.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb186.png" alt="image" width="244" height="154" border="0" /></a></p>
<h6>Public Folders</h6>
<p>The Public Folder databases are now gone, and transferred to “normal” mailboxes instead. The advantage of this is that the mailbox itself can now be replicated using DAG technology. This doesn’t mean that the public folder contents is replicated, it’s still required that you configure the public folder replication for the contents.</p>
<p>With “normal” mailbox I mean that they reside in the mailbox databases, just like user mailboxes does. However they can in someway be compared to shared and room, those are also special mailboxes.</p>
<p>If you decide to use the Public Folders in Exchange 2013, the first step will be to create a mailbox that holds the public folder hierarchy. This will be the writeable copy, you can have copies of the hierarchy. But you can only have one that is allowed to make changes/writeable.</p>
<p><strong>How can the hierarchy mailbox be created?<br />
</strong></p>
<p><strong>Using EAC:</strong> Go to Public Folders section, this is the first warning/error message you will receive.<br />
It means that you don’t have any public folder hierarchy (mailbox) created yet.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image1.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image_thumb1.png" alt="image" width="244" height="111" border="0" /></a></p>
<p>Go to the second public folder selection called “Public Folders Mailboxes”. Add (+), create the first mailbox for the public folders, so it’s hierarchy can be saved.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image2.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image_thumb2.png" alt="image" width="244" height="86" border="0" /></a></p>
<p>Give the mailbox a friendly name, example: PF_Hierarchy, place it into an organizational unit and select a mailbox database where it should be saved into. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image3.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image_thumb3.png" alt="image" width="244" height="208" border="0" /></a></p>
<p>Now when the hierarchy is created, let’s create some test folders too.<br />
Go back to “Public Folders”, press the Add (+) button. Give the public folder a name. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image4.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image_thumb4.png" alt="image" width="201" height="244" border="0" /></a></p>
<p>If you want to configure any storage quota on the public folder content, press Edit and configure it. Statistics can also be found under Edit selection, which sometimes is valuable.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image6.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image_thumb6.png" alt="image" width="244" height="232" border="0" /></a></p>
<p>Just for testing purposes I did mail-enable the folder. By pressing the Enable button.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image7.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image_thumb7.png" alt="image" width="244" height="84" border="0" /></a></p>
<p>Press Yes.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image8.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image_thumb8.png" alt="image" width="244" height="163" border="0" /></a></p>
<p>Let’s check the properties for the folder again, now we see that we have lots of new settings. Here’s a small example how the Mail Flow settings looks like.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image9.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image_thumb9.png" alt="image" width="244" height="232" border="0" /></a></p>
<p><strong>Using PowerShell: </strong>Start up Exchange Management Shell, the following commands will be used for creating the public folder hierarchy and contents folder.</p>
<p>Create the hierarchy by running the following command<br />
<em>New-Mailbox –Name PF_Hierarchy –Alias PF_Hierarchy –Database DB01 –OrganizationalUnit Users</em></p>
<p>This mailbox, like shared/room mailboxes is also disabled by default. This for not having the possibility to logon as this user.</p>
<p>Let’s create the folder named Testlabs<br />
<em>New-PublicFolder –Name Testlabs</em></p>
<p>Finally, mail enable the public folder<br />
<em>Enable-MailPublicFolder –Identity \Testlabs</em></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image10.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/08/image_thumb10.png" alt="image" width="244" height="122" border="0" /></a></p>
<p><strong>We have public folders located in Exchange 2007/2010, what about them?</strong></p>
<p>In the end of this post, you can find a link to a TechNet article, it provides you with a great step-by-step guide. I haven’t tried to migrate public folder contents from earlier versions of Exchange since SP3 for Exchange 2010 is required for having coexistence between Exchange 2010 and Exchange 2013. SP3 is right now under development/testing and no official information can be found.</p>
<p>When I get my hands on SP3, this will be one of the first things to try out.</p>
<h6>Client Access Server Array</h6>
<p>In my previous blog post I did write about some news regarding MAPI and RPC, where I did mention what changes been made. It can be found <a href="http://www.testlabs.se/blog/2012/07/25/exchange-server-2013-preview-part-3-how-to-configure-site-urls-databases-and-outlook-anywhere/" target="_blank">here</a>.</p>
<p>The “new” Client Access Server role can now been seen as more of a traditional Front-End server.<br />
It utilize as a front-end connection point and redirects/proxies (depending on method) the clients to it’s correct mailbox server.</p>
<p>After the architectural change around the CAS role, it’s now “stateless” which means there’s no need for the load balancer to configure affinity/sticky session. For example, it means that the clients is not required to have the connection established to the same CAS server for having the OWA to work. This means that all CAS servers now will serve all clients with connections to it’s mailbox endpoint server.</p>
<p><strong>How to create a client access array?<br />
</strong></p>
<p>Right now, I don’t see any specific reason for creating the CAS Array, since the traffic will be proxied from the CAS servers to the correct active Mailbox servers.</p>
<p>In an upcoming blog post I will cover how to configure the load balancing for Exchange 2013.</p>
<p><strong>Upcoming topics</strong>: load balancing Exchange 2013 using different load balancers, database fail-over, move mailbox reports, disaster recovery etc.</p>
<p>But first it’s time for 3 weeks of vacation, until then. Keep on reading the posts and you’re more than welcome to comment on them.</p>
<p>Thanks for reading, I hope it did gave you some valuable information.</p>
<p><strong>More information:</strong></p>
<p>High Availability<br />
<a title="http://technet.microsoft.com/en-us/library/dd638137%28v=exchg.150%29.aspx" href="http://technet.microsoft.com/en-us/library/dd638137%28v=exchg.150%29.aspx">http://technet.microsoft.com/en-us/library/dd638137%28v=exchg.150%29.aspx</a></p>
<p>DAC mode<br />
<a title="http://technet.microsoft.com/en-us/library/dd979790.aspx" href="http://technet.microsoft.com/en-us/library/dd979790.aspx">http://technet.microsoft.com/en-us/library/dd979790.aspx</a></p>
<p>Client Access Server<br />
<a title="http://technet.microsoft.com/en-us/library/dd298114%28v=exchg.150%29" href="http://technet.microsoft.com/en-us/library/dd298114%28v=exchg.150%29">http://technet.microsoft.com/en-us/library/dd298114%28v=exchg.150%29</a></p>
<p>Public Folder migration scenario<br />
<a title="http://technet.microsoft.com/en-us/library/jj150486%28v=exchg.150%29" href="http://technet.microsoft.com/en-us/library/jj150486%28v=exchg.150%29">http://technet.microsoft.com/en-us/library/jj150486%28v=exchg.150%29</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.testlabs.se/blog/2012/08/01/exchange-server-2013-preview-part-4-configure-dag-cas-array-and-public-folders/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Exchange Server 2013 Preview &#8211; Part 3: How to configure site URL&#8217;s, Databases and Outlook Anywhere</title>
		<link>http://www.testlabs.se/blog/2012/07/25/exchange-server-2013-preview-part-3-how-to-configure-site-urls-databases-and-outlook-anywhere/</link>
		<comments>http://www.testlabs.se/blog/2012/07/25/exchange-server-2013-preview-part-3-how-to-configure-site-urls-databases-and-outlook-anywhere/#comments</comments>
		<pubDate>Wed, 25 Jul 2012 09:11:18 +0000</pubDate>
		<dc:creator>Jonas Andersson</dc:creator>
				<category><![CDATA[Exchange 2013]]></category>
		<category><![CDATA[Client Access]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2013 Configuration guide]]></category>
		<category><![CDATA[Exchange Server 2013]]></category>
		<category><![CDATA[Mailbox]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://www.testlabs.se/blog/?p=2453</guid>
		<description><![CDATA[I suppose you already have, but if you haven’t read my previous parts in this Exchange 2013 serie, have a look at the links below. Part 1: Complete guide of how to perform the installation Part 2: How to do the Basic configuration This part will include details on how the configuration could be made ]]></description>
				<content:encoded><![CDATA[<p>I suppose you already have, but if you haven’t read my previous parts in this Exchange 2013 serie, have a look at the links below.</p>
<p><a href="http://www.testlabs.se/blog/2012/07/17/exchange-server-2013-preview-complete-guide-of-how-to-perform-the-installation/" target="_blank">Part 1: Complete guide of how to perform the installation</a><br />
<a href="http://www.testlabs.se/blog/2012/07/20/exchange-server-2013-preview-part-2-how-to-do-the-basic-configuration/" target="_blank">Part 2: How to do the Basic configuration</a></p>
<p>This part will include details on how the configuration could be made for Site URL’s/Virtual Directories, Databases, Outlook Anywhere and MAPI vs RPC over HTTPs together with connecting using Outlook 2013.</p>
<p>In the previous part we did install the certificate which included the following names, so we can use these names in the site configuration. (If using HTTPS, the configured name needs to be included into the certificate.)</p>
<ul>
<li>mail.testlabs.se</li>
<li>autodiscover.testlabs.se</li>
<li>tlcas01</li>
<li>tlcas01.testlabs.se</li>
</ul>
<h6>Sites / URL’s</h6>
<p>Let’s go through the steps for configuring the sites with the ExternalURL and other settings.<br />
I’ll go through both the EAC and the PowerShell, so you have the opportunity to select which method you prefer.</p>
<p>Let’s start..</p>
<p><strong>In EAC</strong>: Go to Servers, select Virtual Directories.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image87.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb87.png" alt="image" width="244" height="79" border="0" /></a></p>
<p>Select the server in the menu and which type you want to show. Then press Edit.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image88.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb88.png" alt="image" width="244" height="97" border="0" /></a></p>
<p>Let’s start with Autodiscover.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image89.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb89.png" alt="image" width="244" height="216" border="0" /></a></p>
<p>By default, Integrated Windows Authentication and Basic authentication is enabled. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image90.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb90.png" alt="image" width="244" height="215" border="0" /></a></p>
<p>Next, select Exchange ActiveSync (EAS). Press Edit.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image91.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb91.png" alt="image" width="244" height="54" border="0" /></a></p>
<p>General settings shows the URL’s, I did type in the ExternalURL like the pic below. Press Authentication.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image92.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb92.png" alt="image" width="244" height="216" border="0" /></a></p>
<p>Make sure that Basic authentication is enabled. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image93.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb93.png" alt="image" width="244" height="215" border="0" /></a></p>
<p>Next, select ECP. Press Edit.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image94.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb94.png" alt="image" width="244" height="62" border="0" /></a></p>
<p>General settings shows the URL’s, I did type in the ExternalURL like the pic below. Press Authentication.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image95.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb95.png" alt="image" width="244" height="216" border="0" /></a></p>
<p>Authentication default settings is “Use forms-based authentication” enabled. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image96.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb96.png" alt="image" width="244" height="215" border="0" /></a></p>
<p>A warning, make sure to change all virtual directions. Press OK.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image97.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb97.png" alt="image" width="244" height="215" border="0" /></a></p>
<p>Next, select EWS. Press Edit.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image98.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb98.png" alt="image" width="244" height="55" border="0" /></a></p>
<p>General settings shows the URL’s, I did type in the ExternalURL like the pic below. Press Authentication.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image99.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb99.png" alt="image" width="244" height="216" border="0" /></a></p>
<p>Authentication settings, Integrated Windows authentication is enabled by default. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image100.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb100.png" alt="image" width="244" height="216" border="0" /></a></p>
<p>Next, select OAB. Press Edit.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image101.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb101.png" alt="image" width="244" height="59" border="0" /></a></p>
<p>I did type in the ExternalURL in this setting, the InternalURL was already configured. I did also change the Polling interval from 480 minutes to 60. For having a faster update of the OAB. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image102.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb102.png" alt="image" width="244" height="215" border="0" /></a>&#8216;</p>
<p>Next, select OWA. Press Edit.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image103.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb103.png" alt="image" width="244" height="68" border="0" /></a></p>
<p>General settings shows the URL’s, I did type in the ExternalURL like the pic below. Press Authentication.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image104.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb104.png" alt="image" width="244" height="216" border="0" /></a></p>
<p>Forms-based authentication is selected, I did select the Logon format: User name only and did select my domain by the browsing button. Press Features.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image105.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb105.png" alt="image" width="244" height="216" border="0" /></a>&#8216;</p>
<p>Showing the default settings. Press File Access.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image106.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb106.png" alt="image" width="244" height="215" border="0" /></a></p>
<p>Showing the default settings. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image107.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb107.png" alt="image" width="244" height="216" border="0" /></a></p>
<p>Next, select PowerShell. Press Edit.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image108.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb108.png" alt="image" width="244" height="61" border="0" /></a></p>
<p>General settings shows the URL’s, I did type in the ExternalURL like the pic below. Press Authentication.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image109.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb109.png" alt="image" width="244" height="215" border="0" /></a></p>
<p>Both Integrated Windows authentication and Basic authentication was selected by default. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image110.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb110.png" alt="image" width="244" height="215" border="0" /></a></p>
<p><strong>Using PowerShell </strong></p>
<p>Start the Exchange Management Shell (EMS) and the following commands will do the same work that’s done in EAC.</p>
<p><strong>Autodiscover:</strong><br />
<em>Get-ClientAccessServer | fl *uri*<br />
Set-ClientAccessServer –Identity TLCAS01 –AutoDiscoverServiceInternalUri https://autodiscover.testlabs.se/Autodiscover/autodiscover.xml<br />
</em></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image125.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb125.png" alt="image" width="244" height="136" border="0" /></a></p>
<p><em><strong>Exchange ActiveSync (EAS):<br />
</strong>Get-ActiveSyncVirtualDirectory | fl *url*, ide*<br />
Set-ActiveSyncVirtualDirectory –Identity “TLCAS01\Microsoft-Server-ActiveSync (Default Web Site)” –ExternalUrl https://mail.testlabs.se/Microsoft-Server-ActiveSync<br />
</em><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image126.png"><em><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb126.png" alt="image" width="244" height="136" border="0" /></em></a><br />
<em></em></p>
<p><em><strong>Exchange Control Panel (ECP):<br />
</strong></em>Get-EcpVirtualDirectory | fl *url*, ide*<br />
Set-EcpVirtualDirectory –Identity “TLCAS01\ecp (Default Web Site)” –ExternalUrl https://mail.testlabs.se/ecp</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image127.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb127.png" alt="image" width="244" height="136" border="0" /></a></p>
<p><strong>Exchange Web Services (EWS):<br />
</strong>Get-WebServicesVirtualDirectory | fl *url*, ide*<br />
Set-WebServicesVirtualDirectory –Identity “TLCAS01\EWS (Default Web Site)” –ExternalUrl https://mail.testlabs.se/EWS/Exchange.asmx<strong></strong></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image128.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb128.png" alt="image" width="244" height="136" border="0" /></a></p>
<p><strong>Offline Address Book (OAB):<br />
</strong>Get-OabVirtualDirectory | fl *url*, ide*,pol*<br />
Set-OabVirtualDirectory –Identity “TLCAS01\OAB (Default Web Site)” –ExternalUrl https://mail.testlabs.se/OAB –PollInterval 60</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image129.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb129.png" alt="image" width="244" height="136" border="0" /></a></p>
<p><strong>Outlook Web App (OWA):<br />
</strong>Get-OwaVirtualDirectory | fl *url*, ide*<br />
Set-OwaVirtualDirectory –Identity “TLCAS01\OWA (Default Web Site)” –ExternalUrl https://mail.testlabs.se/OWA</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image130.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb130.png" alt="image" width="244" height="136" border="0" /></a></p>
<p><strong>PowerShell:<br />
</strong>Get-PowerShellVirtualDirectory | fl *url*, ide*<br />
Set-PowerShellVirtualDirectory –Identity “TLCAS01\PowerShell (Default Web Site)” –ExternalUrl https://mail.testlabs.se/powershell</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image131.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb131.png" alt="image" width="244" height="136" border="0" /></a></p>
<h6></h6>
<h6></h6>
<h6>Databases</h6>
<p>Let’s go through the steps that’s required for renaming the default database, dismount and mount. Also creating new databases. Let’s start with the EAC and then do it in PowerShell.</p>
<p>Let’s start..</p>
<p><strong>In EAC</strong>: Go to Servers, select Databases.</p>
<p>Select the default database, named “Mailbox Database 0883045..”. Press Edit.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image111.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb111.png" alt="image" width="244" height="85" border="0" /></a></p>
<p>General settings is shown. Press Cancel.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image112.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb112.png" alt="image" width="244" height="207" border="0" /></a></p>
<p>Select the database, Dismount it by pressing the … icon and press Dismount database.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image113.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb113.png" alt="image" width="244" height="50" border="0" /></a></p>
<p>It does show a warning, that mailboxes being on this database now will be unavailable. Press Yes.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image114.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb114.png" alt="image" width="244" height="96" border="0" /></a></p>
<p>Select the database. Press Edit.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image115.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb115.png" alt="image" width="244" height="48" border="0" /></a></p>
<p>Give the database a friendly name, example: DB01. Press Maintenance.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image116.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb116.png" alt="image" width="244" height="207" border="0" /></a></p>
<p>Maintenance settings is shown. Press Limits.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image117.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb117.png" alt="image" width="244" height="207" border="0" /></a></p>
<p>Mailbox limits are shown, these are the default values. Press Client Settings.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image118.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb118.png" alt="image" width="244" height="207" border="0" /></a></p>
<p>By default, no Offline address book was selected. Press Browse and make sure to select the address book. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image119.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb119.png" alt="image" width="244" height="207" border="0" /></a></p>
<h6>What about if you want to create a new database?</h6>
<p>Let’s start <strong>in EAC</strong></p>
<p>Press the Add button (+).</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image120.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb120.png" alt="image" width="244" height="44" border="0" /></a></p>
<p>Give the database a friendly name, example: DB02. Browse for a mailbox server. And also put in the database path and log path. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image121.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb121.png" alt="image" width="200" height="244" border="0" /></a></p>
<p>During the creating of the database, there is not option for associate the database with the offline address book. When the database is created, press Edit. Then go to Client Settings and select the Offline address book.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image122.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb122.png" alt="image" width="244" height="54" border="0" /></a></p>
<p><strong>Using PowerShell </strong></p>
<p>Start the Exchange Management Shell (EMS) and the following commands will do the same work that’s done in EAC.</p>
<p><strong>Retrieve database information<br />
</strong><em>Get-MailboxDatabase<br />
Get-MailboxDatabase | fl name,*path*</em></p>
<p><strong>Dismount Database<br />
</strong><em>Dismount-Database –Identity DB01</em></p>
<p>After the default database is renamed to DB01, I want to move the database file and the logs to another drive. It’s done by the commands below:</p>
<p><em>Move-DatbasePath –identity DB01 –EdbFilePath “E:\Database\DB01\DB01.edb” –LogFolderPath “F:\Logs\DB01”</em></p>
<p><em>Mount-Database DB01</em></p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image132.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb132.png" alt="image" width="244" height="136" border="0" /></a></p>
<p><em>Get-OfflineAddressBook</em></p>
<p>For creating a new database (DB02), we have the opportunity in PowerShell to specify all parameters that’s needed for having all options configured.</p>
<p><em>New-MailboxDatabase -Name DB02 -EdbFilePath &#8220;E:\Database\DB02\DB02.edb&#8221; -LogFolderPath &#8220;F:\Logs<br />
\DB02&#8243; -OfflineAddressBook &#8220;\Default Offline Address Book&#8221; -Server TLMB01</em></p>
<p><em>Mount-Database DB02<br />
</em><br />
<a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image133.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb133.png" alt="image" width="244" height="136" border="0" /></a></p>
<p>Note that the OfflineAddressBook is specified during the creation of the database.</p>
<h6>Outlook Anywhere</h6>
<p>Configuration of the feature Outlook Anywhere can also be done from both the EAC and EMS, in various ways.</p>
<p>Let’s start with <strong>the EAC:</strong></p>
<p>Go to the servers menu, and select Servers. Press Edit.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image123.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb123.png" alt="image" width="244" height="56" border="0" /></a></p>
<p>Then go to the &#8220;Outlook Anywhere” option, type in the external name, example: mail.testlabs.se.<br />
I’m using Basic authentication for Outlook Anywhere. Press Save.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image124.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb124.png" alt="image" width="244" height="207" border="0" /></a></p>
<p>And the Configuration is completed.</p>
<p><strong>Using PowerShell </strong></p>
<p>Start the Exchange Management Shell (EMS) and the following commands will do the same work that’s done in EAC.</p>
<p><strong>Enable Outlook Anywhere:<br />
</strong>Enable-OutlookAnywhere –Server TLCAS01 –ExternalHostname mail.testlabs.se –InternalHostname tlcas01.testlabs.se –ExternalClientAuthenticationMethod Basic –InternalClientAuthenticationMethod Ntlm –IISAuthentication Ntlm –SSLOffloading:$false</p>
<p>Get-OutlookAnywhere –Server TLCAS01</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image134.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb134.png" alt="image" width="244" height="136" border="0" /></a></p>
<h6>MAPI and RPC</h6>
<p>The MAPI/RPC (RPC over TCP) traffic is now gone and  replaced with RPC over HTTP/s instead. With that said no more load balancing of static RPC ports, as far as I know this will make both the Firewall team and the Load Balancer teams work easier, less ports is used together with the requirement of load balancing affinity/sticky session settings is not required anymore. This because of there is no need anymore to have the affinity settings, it can now be load balanced based on IP addresses. Just make sure that the load balancer verifies the Exchange services before sending traffic to it.</p>
<p>Outlook instead will use port 443 (HTTPS) or port 80 (HTTP). I think (and hope) most of you will use RPC over HTTPS, with this said I’ll show you the new Outlook 2013 Preview/beta and how it connects and also the traffic it’s using.</p>
<p>Outlook 2013 Preview, connects to my mailbox in Exchange 2013. It’s using HTTPS to initiate the connection, using port 6001 by default for it’s connection, using RPC over HTTPS.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image135.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb135.png" alt="image" width="244" height="107" border="0" /></a></p>
<p>A small picture from Network Monitor when the connection initiated by Outlook 2013.</p>
<p><a href="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image136.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.testlabs.se/blog/wp-content/uploads/2012/07/image_thumb136.png" alt="image" width="244" height="55" border="0" /></a></p>
<p>More information around What’s new in Exchange 2013 can be found <a href="http://technet.microsoft.com/en-us/library/jj150540%28v=exchg.150%29" target="_blank">here</a>.</p>
<p>Next parts will cover Public Folders, Client Access Server Array, Database Availability Groups and more.<br />
Next part can be found <a href="http://www.testlabs.se/blog/2012/08/01/exchange-server-2013-preview-part-4-configure-dag-cas-array-and-public-folders/" target="_blank">here</a>.</p>
<p>Thanks for reading, I hope it helped you guys/girls out there.<br />
If you want me to cover anything special around Exchange 2013, leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.testlabs.se/blog/2012/07/25/exchange-server-2013-preview-part-3-how-to-configure-site-urls-databases-and-outlook-anywhere/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>
