<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Cohesive Logic</title>
	
	<link>http://cohesivelogic.com</link>
	<description>The Microsoft Infrastructure Experts</description>
	<lastBuildDate>Tue, 20 Mar 2012 04:39:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CohesiveLogic" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="cohesivelogic" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">CohesiveLogic</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Transport Pipe Line Tracing</title>
		<link>http://cohesivelogic.com/2012/03/transport-pipe-line-tracing/</link>
		<comments>http://cohesivelogic.com/2012/03/transport-pipe-line-tracing/#comments</comments>
		<pubDate>Sat, 17 Mar 2012 16:44:20 +0000</pubDate>
		<dc:creator>Kevin Miller</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://cohesivelogic.com/?p=964</guid>
		<description><![CDATA[The Exchange server transport pipeline is a collection of Exchange server roles, connections, components, and queues that work together to route all messages to the categorizer, and ultimately on to the messages final destination. Pipe line tracing is a feature built into Exchange 2007, 2010 and beyond allowing you to view a message and how [...]]]></description>
			<content:encoded><![CDATA[<p>The Exchange server transport pipeline is a collection of Exchange server roles, connections, components, and queues that work together to route all messages to the categorizer, and ultimately on to the messages final destination. Pipe line tracing is a feature built into Exchange 2007, 2010 and beyond allowing you to view a message and how it&#8217;s been touched at every step in the pipe line. You can use Pipe Line tracing for a number of things, such as:
</p>
<ul>
<li>Determine how content conversion modifies a message in transit
</li>
<li>View how a message entered Exchange, and how it exits exchange to determine who is wrong with formatting
</li>
<li>Troubleshoot disclaimer issues ( being applied, not being applied, not looking right)
</li>
<li>Troubleshoot rules being applied, or not being applied to messages
</li>
<li>Determine why messages are not being properly journaled
</li>
</ul>
<p>For more information see the following link; <a href="http://technet.microsoft.com/en-us/library/aa996349.aspx">http://technet.microsoft.com/en-us/library/aa996349.aspx</a>
	</p>
<p><strong>Note |</strong> the big note / disclaimer here, <em>entire email messages will be saved in plain text format on the Exchange server when you enable tracing. Think possible Security issue. Also every message sent from the SENDER through the configured server will be captured and stored 17 or more times, think, this could consume excessive space on a server; make sure you turn it off when you are done.<br />
</em></p>
<h2>Pipe Line Tracing Configuration<br />
</h2>
<p>Pipe Line tracing by default is disabled on Exchange Transport servers. You have to enable it on the transport server you will be working with. Then you have to configure it to capture email for a specific user.  You&#8217;re only able to configure tracing to trace for a single SENDER. There are three settings you can configure for tracing using the <strong><em>set-transportserver</em></strong> command. The commands are as follows:
</p>
<ul>
<li><strong>PipelineTracingEnabled |</strong>Pretty simple, you can set it to True or False, False is default. You need to set it to true before the feature will work. You don&#8217;t need to cycle transport to have the settings take effect, but you might need to wait for AD replication
</li>
<li><strong>PipelineTracingPath|</strong> The default path is  <strong><em>C:\&lt;exchange install path&gt;\TransportRoles\Logs\PipelineTracing </em></strong>I&#8217;ve never seen much reason to change the path, but you can if you want to.
</li>
<li><strong>PipelineTracingSenderAddress |</strong> Set the email address of the SENDER you want to enable tracing for here. You can only trace for a single sender at a time.
</li>
</ul>
<p>You can run <strong><em>get-transportsever | fl *pipe*</em></strong> to see the current settings
</p>
<p><img src="http://cohesivelogic.com/wp-content/uploads/2012/03/031712_1644_TransportPi1.png" alt=""/>
	</p>
<h2>Enable Pipe Line Tracing<br />
</h2>
<p>The following example commands assume your environment has more than one transport server and it assumes you want to enable pipe line tracing on all transport servers. The following commands can be run to enabled pipe line tracing:
</p>
<ul>
<li>Enabled tracing run  | <strong><em>Get-transportserver | set-transportserver – PipelineTracingEnabled $true</em></strong>
		</li>
<li>Set the SENDER address | <strong><em>Get-Transportserver | set-transportserver – PipelineTracingSenderAddress <a href="mailto:mainer@contoso.com">mainer@contoso.com</a></em></strong>
		</li>
<li>Configure the path | <strong><em>Get-Transportserver | set-transportserver – PipelineTracingpath &#8220;c:\bob\pipelinetracing&#8221;</em></strong> –  You don&#8217;t need to change this setting.
</li>
</ul>
<h2>Reviewing the Pipe Line Tracing logs<br />
</h2>
<p>The pipe line tracking logs are *.eml text files stored in the <strong>PipelineTracingpath</strong> on each Exchange transport server. You can open the files in Notepad, or your email client of choice. For the purpose of reviewing the data I suggest you use notepad so you can see the RAW format / data of the email message. When you find the folder you will see something like the below image.
</p>
<p><img src="http://cohesivelogic.com/wp-content/uploads/2012/03/031712_1644_TransportPi2.png" alt=""/>
	</p>
<p>Each <em>Routing000X.eml</em> file corresponds to a step in the transport pipe line. You can view what your pipe line process looks like by running <strong><em>get-transportpipeline</em></strong> – When you run the command you will see something like the below image. For more information about what happens at each step of the pipeline view the following link; <a href="http://technet.microsoft.com/en-us/library/aa996349.aspx">http://technet.microsoft.com/en-us/library/aa996349.aspx</a>
	</p>
<p><img src="http://cohesivelogic.com/wp-content/uploads/2012/03/031712_1644_TransportPi3.png" alt=""/>
	</p>
<p>When you open a message near the top of the message the <strong><em>X-MessageSnapshot-Source:</em></strong> tag will tell you what step you&#8217;re looking at in the pipeline and or what process / transport agent is toucing the message in this step.
</p>
<p><img src="http://cohesivelogic.com/wp-content/uploads/2012/03/031712_1644_TransportPi4.png" alt=""/>
	</p>
<p>Armed with the entire message, and the steps in the pipe line you should be able to work out where your message is not properly being handeled and trouble shoot futher.
</p>
<p><span style="color:#4f81bd; font-size:13pt"><strong>Disabled Pipe Line Tracing<br />
</strong></span></p>
<p>When you&#8217;ve captured enough messages to trouble shoot your issue, or you&#8217;ve solved your issue you should turn the tracking off. The following example commands assume your environment has more than one transport server and it assumes you want to enable pipe line tracing on all transport servers. The following commands can be run to enabled pipe line tracing:
</p>
<ul>
<li>Disabled tracing run  | <strong><em>Get-transportserver | set-transportserver – PipelineTracingEnabled $fase</em></strong>
		</li>
<li>Set the SENDER address | <strong><em>Get-Transportserver | set-transportserver – PipelineTracingSenderAddress </em></strong>
		</li>
</ul>
<p>
 </p>
<p>
 </p>
]]></content:encoded>
			<wfw:commentRss>http://cohesivelogic.com/2012/03/transport-pipe-line-tracing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Enterprise Vault 9 Pre-Requisites via PowerShell</title>
		<link>http://cohesivelogic.com/2011/08/installing-enterprise-vault-9-pre-requisites-via-powershell/</link>
		<comments>http://cohesivelogic.com/2011/08/installing-enterprise-vault-9-pre-requisites-via-powershell/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 20:05:10 +0000</pubDate>
		<dc:creator>Jeremy Phillips</dc:creator>
				<category><![CDATA[Enterprise Vault]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Archiving]]></category>

		<guid isPermaLink="false">http://cohesivelogic.com/?p=902</guid>
		<description><![CDATA[This might come in handy for some. It can be executed from PowerShell running as Administrator. Import-module ServerManager Add-WindowsFeature MSMQ-Server, NET-Framework-Core, Web-Server, Web-Static-Content, Web-Default-Doc, Web-Dir-Browsing, Web-Http-Errors, Web-Http-Redirect, Web-Asp-Net, Web-NET-Ext, Web-ASP, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor, Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Filtering, Web-IP-Security, Web-Stat-Compression, Web-Mgmt-Console, Web-Scripting-Tools, Web-Mgmt-Service, Web-Metabase, Web-WMI, Web-Lgcy-Scripting, Web-Lgcy-Mgmt-Console, RSAT-Web-Server]]></description>
			<content:encoded><![CDATA[<p>This might come in handy for some. It can be executed from PowerShell running as Administrator.</p>
<blockquote>
<pre>Import-module ServerManager</pre>
<pre>Add-WindowsFeature MSMQ-Server, NET-Framework-Core, Web-Server, Web-Static-Content, Web-Default-Doc, Web-Dir-Browsing, Web-Http-Errors, Web-Http-Redirect, Web-Asp-Net, Web-NET-Ext, Web-ASP, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor, Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Filtering, Web-IP-Security, Web-Stat-Compression, Web-Mgmt-Console, Web-Scripting-Tools, Web-Mgmt-Service, Web-Metabase, Web-WMI, Web-Lgcy-Scripting, Web-Lgcy-Mgmt-Console, RSAT-Web-Server</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://cohesivelogic.com/2011/08/installing-enterprise-vault-9-pre-requisites-via-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Export All Mailboxes to PST in Exchange 2010 SP1</title>
		<link>http://cohesivelogic.com/2011/06/export-all-mailboxes-to-pst-in-exchange-2010-sp1/</link>
		<comments>http://cohesivelogic.com/2011/06/export-all-mailboxes-to-pst-in-exchange-2010-sp1/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 17:05:16 +0000</pubDate>
		<dc:creator>Jeremy Phillips</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://cohesivelogic.com/?p=844</guid>
		<description><![CDATA[We&#8217;re migrating our on-premise email environment to Office 365 but prior to decommissioning the last server I wanted to take a snapshot of all mailboxes as they are right now; the easiest way to do this is exporting them to PST with New-MailboxExportRequest [TechNet Info]. So, without further ado, here a quick and easy way [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re migrating our on-premise email environment to Office 365 but prior to decommissioning the last server I wanted to take a snapshot of all mailboxes as they are right now; the easiest way to do this is exporting them to PST with New-MailboxExportRequest [<a href="http://technet.microsoft.com/en-us/library/ff607299.aspx">TechNet Info</a>]. So, without further ado, here a quick and easy way to export all mailboxes from a small environment:</p>
<blockquote><p>$mailboxes = get-mailbox</p>
<p>foreach ($mailbox in $mailboxes) {</p>
<p>new-mailboxexportrequest -mailbox $mailbox -FilePath \\server\c$\$mailbox.pst</p>
<p>}</p></blockquote>
<p>Obviously you&#8217;re going to want to change the FilePath but keep in mind you must point it towards a UNC path, not a drive letter. To see the status of the exports you can run the below command.</p>
<blockquote><p>Get-MailboxExportRequest | Get-MailboxExportRequestStatistics</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://cohesivelogic.com/2011/06/export-all-mailboxes-to-pst-in-exchange-2010-sp1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange Links – 06/10/11</title>
		<link>http://cohesivelogic.com/2011/06/exchange-links-06-10-11/</link>
		<comments>http://cohesivelogic.com/2011/06/exchange-links-06-10-11/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 23:00:51 +0000</pubDate>
		<dc:creator>Jeremy Phillips</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[exchange links]]></category>

		<guid isPermaLink="false">http://cohesivelogic.com/?p=822</guid>
		<description><![CDATA[We tend to read quite a bit on Exchange; here are some articles you may find useful or informative. If you have suggestions on any other blogs or websites we should be reading please leave a comment. Creating Distribution Groups Overriding Naming Policy Distribution Group Naming Policy is a template that, we as Exchange admins, [...]]]></description>
			<content:encoded><![CDATA[<p>We tend to read quite a bit on Exchange; here are some articles you may find useful or informative. If you have suggestions on any other blogs or websites we should be reading please leave a comment.</p>
<p><strong>Creating Distribution Groups Overriding Naming Policy</strong><br />
<em>Distribution Group Naming Policy is a template that, we as Exchange admins, apply to all newly created distribution groups.</em> [...] <em>There will be times in which you want to cerate a distribution group with a particular name, without getting the standard policy applied. You can create new groups or modify existing ones, ignoring the naming policy been configured. </em>Read More @ <a href="http://www.howexchangeworks.com/2011/06/creating-distribution-groups-overriding.html">How Exchange Works</a></p>
<p><strong>The Conversation Action Settings Folder</strong><em><br />
If you’re used to using Outlook on Windows, you may never have seen this folder. In fact, you might not have seen it if you are a Win Outlook user, because it’s only present on Exchange 2010 mailboxes.</em> Read More @ <a href="http://paulrobichaux.wordpress.com/2011/06/09/the-conversation-action-settings-folder/">Paul&#8217;s Down Home Page</a></p>
<p><strong>Using Room List Distribution Group in Exchange 2010</strong><br />
<em>As the name suggests, “Room List Distribution Group” is a distribution group which has a list of room mailboxes as its members. Why do we need one of these groups, you might ask. In earlier versions of Outlook, if you wanted to search for a room&#8217;s availability while setting up a meeting, you needed to add all possible rooms to the meeting request and then use the Scheduling Assistant to view available rooms. [...] In Exchange 2010, if a room list distribution group has been configured, an end user can add just the distribution group, which will list all the meeting rooms and the availability automatically. </em>Read More @ <a href="http://www.howexchangeworks.com/2011/06/using-room-list-distribution-group-in.html">How Exchange Works</a></p>
<p><strong>Exchange Server 2010 Native Data Protection &#8211; Part 1</strong><br />
<em>Exchange Server 2010 brings new features that allow companies to protect their emails without performing any backups. These features introduce the concept known as Exchange Native Data Protection, formerly known as Backup-less Exchange Organization. </em>Read More @ <a href="http://www.exchangeinbox.com/article.aspx?i=179">ExchangeInbox.com</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://cohesivelogic.com/2011/06/exchange-links-06-10-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compliance Transport Rules</title>
		<link>http://cohesivelogic.com/2011/02/compliance-transport-rules/</link>
		<comments>http://cohesivelogic.com/2011/02/compliance-transport-rules/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 04:58:15 +0000</pubDate>
		<dc:creator>Kevin Miller</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://cohesivelogic.com/2011/02/compliance-transport-rules/</guid>
		<description><![CDATA[I had a customer recently ask me to help them create Exchange transport rules to block credit card numbers and social security numbers from being sent via email. This lead me to research how credit card numbers are formatted and how Exchange transport rules uses regular expressions. Below are the commands I provided to the [...]]]></description>
			<content:encoded><![CDATA[<p>I had a customer recently ask me to help them create Exchange transport rules to block credit card numbers and social security numbers from being sent via email. This lead me to research how credit card numbers are formatted and how Exchange transport rules uses regular expressions. Below are the commands I provided to the customer to create rules to block credit cards and social security numbers as well as notes I took on number formatting. </p>
<p><em><strong>NOTE ||</strong> According to the Microsoft KB (\s|.|-) should block Space, Period, and Hyphen. In real life the \s seems to block anything, resulting in an SSN number blocking expression that blocks phone numbers. I am looking into why this is happening. Until I update this again please remove the <strong>\s|</strong> from all expressions before implementing the rules</em></p>
<h1><span style="font-weight: bold;"><span style="font-weight: bold;">Blocking without blobs</span></span></h1>
<p><span style="font-family: Calibri;"><span style="font-size: 11pt;">The rules below will not block 16,15,and 9 digit number blobs – Meaning, someone could send 123234355 as their SOC and it would go through. Additionally they only block the numbers grouped with a space, period, or hyphen/dash between the number groupings (\s|.|-)</span></span></p>
<blockquote>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;"><span style="font-weight: bold;">Block SSN numbers</span></p>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;"><span style="font-style: italic;">New-TransportRule -Name &#8220;Social Security Number Block Rule&#8221; -SubjectOrBodyMatchesPatterns &#8220;\d\d\d</span>(\s|.|-)<span style="font-style: italic;">\d\d</span>(\s|.|-)<span style="font-style: italic;">\d\d\d\d&#8221; -RejectMessageEnhancedStatusCode &#8220;5.7.1&#8243; -RejectMessageReasonText &#8220;This message has been rejected because of content restrictions&#8221;</span></p>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;"><span style="font-weight: bold;">Block Credit Card numbers</span></p>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;">New-TransportRule -Name &#8220;Visa_Mastercard_Discover_Block Rule&#8221; -SubjectOrBodyMatchesPatterns</p>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;">&#8220;\d\d\d\d(\s|.|-)\d\d\d\d(\s|.|-)\d\d\d\d(\s|.|-)\d\d\d\d&#8221; -RejectMessageEnhancedStatusCode &#8220;5.7.1&#8243; -RejectMessageReasonText &#8220;This message has been rejected because of content restrictions&#8221;</p>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;"><span style="font-weight: bold;">Block Amex Numbers</span></p>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;">New-TransportRule -Name &#8220;Amex_Block Rule&#8221; -SubjectOrBodyMatchesPatterns&#8221;\d\d\d\d(\s|.|-)\d\d\d\d\d\d(\s|.|-)\d\d\d\d\d&#8221; -RejectMessageEnhancedStatusCode &#8220;5.7.1&#8243; -RejectMessageReasonText &#8220;This message has been rejected because of content restrictions&#8221;</p>
</blockquote>
<h1><span style="font-weight: bold;">Blocking with blobs</span></h1>
<p><span style="font-family: Calibri;"><span><span style="font-size: 11pt;">The rules below will  block 16 and 15 digit blobs of numbers that start with 3, 4, 5, and 6011 as is apprriate for card format. The rules will also block 9 digit blobs to block SSN numbers with out number breaks.  Additionally they block the numbers grouped with a space, period, or hyphen/dash between the number groupings (\s|.|-)</span></span></span></p>
<blockquote>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;"><span style="font-weight: bold;">Block SSN numbers</span></p>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;"><span style="font-style: italic;">New-TransportRule -Name &#8220;Social Security Number Block Rule&#8221; -SubjectOrBodyMatchesPatterns &#8220;\d\d\d</span>(\s|.|-)<span style="font-style: italic;">\d\d</span>(\s|.|-)<span style="font-style: italic;">\d\d\d\d\s&#8221;,</span>&#8220;\d\d\d\d\d\d\d\d\d\s&#8221;<span style="font-style: italic;"> -RejectMessageEnhancedStatusCode &#8220;5.7.1&#8243; -RejectMessageReasonText &#8220;This message has been rejected because of content restrictions&#8221;</span></p>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;"><span style="font-weight: bold;">Block Credit Card numbers</span></p>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;">New-TransportRule -Name &#8220;Visa_Mastercard_Discover_Block Rule&#8221; -SubjectOrBodyMatchesPatterns</p>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;">&#8220;\d\d\d\d(\s|.|-)\d\d\d\d(\s|.|-)\d\d\d\d(\s|.|-)\d\d\d\d&#8221;,&#8221;4\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\s&#8221;,&#8221;5\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\s&#8221;,&#8221;6011\d\d\d\d\d\d\d\d\d\d\d\d(\s&#8221; -RejectMessageEnhancedStatusCode &#8220;5.7.1&#8243; -RejectMessageReasonText &#8220;This message has been rejected because of content restrictions&#8221;</p>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;"><span style="font-weight: bold;">Block Amex Numbers</span></p>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;">New-TransportRule -Name &#8220;Amex_Block Rule&#8221; -SubjectOrBodyMatchesPatterns&#8221;\d\d\d\d(\s|.|-)\d\d\d\d\d\d(\s|.|-)\d\d\d\d\d&#8221;,&#8221;3\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\s&#8221; -RejectMessageEnhancedStatusCode &#8220;5.7.1&#8243; -RejectMessageReasonText &#8220;This message has been rejected because of content restrictions&#8221;</p>
</blockquote>
<h1><span style="font-weight: bold;">Number formatting notes</span></h1>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;">Social Security number is a 9 digits long. Examples include:</p>
<ul style="margin-top: 0in; unicode-bidi: embed; direction: ltr; margin-bottom: 0in; margin-left: 0.375in;" type="disc">
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">123-23-7788 &#8221; </span><span style="font-style: italic; font-family: calibri; font-size: 11pt;">\d\d\d</span><span style="font-family: calibri; font-size: 11pt;">(\s|.|-)</span><span style="font-style: italic; font-family: calibri; font-size: 11pt;">\d\d</span><span style="font-family: calibri; font-size: 11pt;">(\s|.|-)</span><span style="font-style: italic; font-family: calibri; font-size: 11pt;">\d\d\d\d&#8221;</span></li>
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">123 23 7788</span></li>
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">12323788 &#8220;\d\d\d\d\d\d\d\d\d\(\s)&#8221;</span></li>
</ul>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;">The Visa card format is 16 digits long and starts with a &#8220;4&#8243;. Examples include:</p>
<ul style="margin-top: 0in; unicode-bidi: embed; direction: ltr; margin-bottom: 0in; margin-left: 0.375in;" type="disc">
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">4xxx-xxxx-xxxx-xxxx<span style="mso-spacerun: yes;"> </span>||<span style="mso-spacerun: yes;"> </span>&#8220;\d\d\d\d(\s|.|-)\d\d\d\d(\s|.|-)\d\d\d\d(\s|.|-)\d\d\d\d&#8221;</span></li>
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">4xxx xxxx xxxx xxxx</span></li>
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">4xxxxxxxxxxxxxxx &#8220;4\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\s&#8221;</span></li>
</ul>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;">The MasterCard format is 16 digits long and starts with a &#8220;5&#8243;. Examples include:</p>
<ul style="margin-top: 0in; unicode-bidi: embed; direction: ltr; margin-bottom: 0in; margin-left: 0.375in;" type="disc">
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">5xxx-xxxx-xxxx-xxxx ||<span style="mso-spacerun: yes;"> </span>&#8220;\d\d\d\d(\s|.|-)\d\d\d\d(\s|.|-)\d\d\d\d(\s|.|-)\d\d\d\d&#8221;</span></li>
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">5xxx xxxx xxxx xxxx</span></li>
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">5xxxxxxxxxxxxxxx &#8220;5\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\s&#8221;</span></li>
</ul>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;">The Discover card format is 16 digits long and starts with &#8220;6011&#8243;. Examples include:</p>
<ul style="margin-top: 0in; unicode-bidi: embed; direction: ltr; margin-bottom: 0in; margin-left: 0.375in;" type="disc">
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">6011-xxxx-xxxx-xxxx ||<span style="mso-spacerun: yes;"> </span>&#8220;\d\d\d\d(\s|.|-)\d\d\d\d\d\d(\s|.|-)\d\d\d\d\d&#8221;</span></li>
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">6011 xxxx xxxx xxxx</span></li>
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">6011xxxxxxxxxxxx &#8220;6011\d\d\d\d\d\d\d\d\d\d\d\d(\s&#8221;</span></li>
</ul>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;">The American Express card format is 15 digits long and starts with a &#8220;3&#8243;. Examples include:</p>
<ul style="margin-top: 0in; unicode-bidi: embed; direction: ltr; margin-bottom: 0in; margin-left: 0.375in;" type="disc">
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">3xxx-xxxxxx-xxxxx ||<span style="mso-spacerun: yes;"> </span>&#8220;\d\d\d\d(\s|.|-)\d\d\d\d\d\d(\s|.|-)\d\d\d\d\d&#8221;</span></li>
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">3xxx xxxxxx xxxxx</span></li>
<li style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: calibri; font-size: 11pt;">3xxxxxxxxxxxxxx &#8220;3\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\s&#8221;</span></li>
</ul>
<p style="margin: 0in; font-family: calibri; font-size: 11pt;">See the following link for a transport rule regular expression reference &#8212; <a href="http://technet.microsoft.com/en-us/library/aa997187.aspx"><span style="text-decoration: underline;"><span style="color: #0066cc;">http://technet.microsoft.com/en-us/library/aa997187.aspx</span></span></a></p>
]]></content:encoded>
			<wfw:commentRss>http://cohesivelogic.com/2011/02/compliance-transport-rules/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Database Spare Tire</title>
		<link>http://cohesivelogic.com/2011/02/cheap-storage-insurance/</link>
		<comments>http://cohesivelogic.com/2011/02/cheap-storage-insurance/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 04:57:02 +0000</pubDate>
		<dc:creator>Kevin Miller</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://cohesivelogic.com/2011/02/cheap-storage-insurance/</guid>
		<description><![CDATA[We check our tires for defects and proper air pressure on a regular basis, yet we all still carry around a spare tire just in case. We monitor our Exchange environments for database and volume size diligently, yet we don’t have a spare tire. With a car you call AAA or a friend if you [...]]]></description>
			<content:encoded><![CDATA[<p>We check our tires for defects and proper air pressure on a regular basis, yet we all still carry around a spare tire just in case. We monitor our Exchange environments for database and volume size diligently, yet we don’t have a spare tire. With a car you call AAA or a friend if you get a flat. If your Exchange database volume fills up who are you going to call to get going quickly? If you’re running on SAN or NAS you could get in touch with the SAN team and ask to have a volume expanded, but that is not always a fast solution</p>
<p>We have an idea for an Exchange Database, a spare tire of sorts, the idea is as follows:</p>
<blockquote><p>Create a 5GB empty file on every Exchange database volume you can delete in case the database grows too large,  fills up the volume, and dismounts. You can then quickly delete the file and remount the databases while we work out the size issue. We don’t have to ask the SAN team for more size. We are back up and running super fast</p>
</blockquote>
<p>Creating the 5GB spare tire file for your Exchange database is a simple task. It can be done with one line command using a built in Windows command.  Run the following command to create your own 5GB spare tire files on your DB volumes</p>
<blockquote><p><strong>fsutil.exe file createnew c:\Spare.Tire 536870912</strong></p>
</blockquote>
<p>And that boys and girls is a quick way to build an inexpensive spare tire to use in case your databases get too big.</p>
]]></content:encoded>
			<wfw:commentRss>http://cohesivelogic.com/2011/02/cheap-storage-insurance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KEMP Load Balancers for Exchange 2010</title>
		<link>http://cohesivelogic.com/2011/01/kemp-load-balancers-for-exchange-2010/</link>
		<comments>http://cohesivelogic.com/2011/01/kemp-load-balancers-for-exchange-2010/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 20:51:10 +0000</pubDate>
		<dc:creator>Jeremy Phillips</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[KEMP Technologies]]></category>

		<guid isPermaLink="false">http://cohesivelogic.com/?p=568</guid>
		<description><![CDATA[I was recently informed that KEMP Load Balancers (Specifically LM-2200/2500/2600/3500/3600/5500 hardware load balancers &#38; their LoadMaster VLM software load balancer) have passed the qualification program for Exchange 2010. In Microsoft&#8217;s own words: The qualification program for load balancers ensures that customers have seamless experiences with setup, support, and use of qualified load balancers with Microsoft&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently informed that KEMP Load Balancers (Specifically LM-2200/2500/2600/3500/3600/5500 hardware load balancers &amp; their LoadMaster VLM software load balancer) have passed the qualification program for Exchange 2010. In Microsoft&#8217;s own words:</p>
<blockquote><p>The qualification program for load balancers ensures that customers have seamless experiences with setup, support, and use of qualified load balancers with Microsoft&#8217;s Exchange Server 2010. Only products that meet Exchange Server 2010 requirements will be listed.</p></blockquote>
<p><a href='http://cohesivelogic.com/2011/01/kemp-load-balancers-for-exchange-2010/kemp-hwlb/' title='KEMP-HWLB'><img width="150" height="150" src="http://cohesivelogic.com/wp-content/uploads/2011/01/KEMP-HWLB-150x150.png" class="attachment-thumbnail" alt="KEMP-HWLB" title="KEMP-HWLB" /></a><br />
<a href='http://cohesivelogic.com/2011/01/kemp-load-balancers-for-exchange-2010/kemp-swlb/' title='KEMP-SWLB'><img width="150" height="150" src="http://cohesivelogic.com/wp-content/uploads/2011/01/KEMP-SWLB-150x150.png" class="attachment-thumbnail" alt="KEMP-SWLB" title="KEMP-SWLB" /></a></p>
<p>We&#8217;re both a reseller partner of KEMP and use an LM-2200 ourselves, so I&#8217;m happy to see they are now a qualified solution for Exchange 2010. You can visit the Microsoft Exchange 2010 Load Balancer Deployment page <a href="http://technet.microsoft.com/en-us/exchange/gg176682.aspx">here</a> for a full list of approved load balancers.</p>
]]></content:encoded>
			<wfw:commentRss>http://cohesivelogic.com/2011/01/kemp-load-balancers-for-exchange-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Phone 7 SSL</title>
		<link>http://cohesivelogic.com/2011/01/windows-phone-7-ssl/</link>
		<comments>http://cohesivelogic.com/2011/01/windows-phone-7-ssl/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 16:02:05 +0000</pubDate>
		<dc:creator>Kevin Miller</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Mobility]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows Phone 7]]></category>

		<guid isPermaLink="false">http://cohesivelogic.com/2011/01/windows-phone-7-ssl/</guid>
		<description><![CDATA[I have an HTC surround Windows Phone 7 phone I use as my daily driver. I’m a hug fan of my WP7 phone. I’m able to sync mine with 6 ActiveSync accounts; huge for me since I have accounts on so many Exchange servers. One of the first things you do when you start working [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://cohesivelogic.com/wp-content/uploads/2011/01/IMG_1849.jpg" rel="prettyPhoto[549]"><img style="background-image: none; margin: 0px 15px 5px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border-width: 0px;" title="IMG_1849" src="http://cohesivelogic.com/wp-content/uploads/2011/01/IMG_1849.jpg" border="0" alt="IMG_1849" width="168" height="244" align="left" /></a>I have an HTC surround Windows Phone 7 phone I use as my daily driver. I’m a hug fan of my WP7 phone. I’m able to sync mine with 6 ActiveSync accounts; huge for me since I have accounts on so many Exchange servers. One of the first things you do when you start working at a new company as an email consultant is to setup email on your phone, Right? I had a hell of time making my phone sync with the Exchange server here.</p>
<p>After about an hour of messing around my phone I was able to make it work. Below is a run down of my issue and how I fixed it.</p>
<p><strong>Error || </strong>The error on the phone was “<em>there is an error with the certificate for the mail.cohesivelogic.net</em>” Error code <strong>80072F0d</strong>“</p>
<h2>Solving the issue</h2>
<p>Below is an outline of steps I took to work out the issue</p>
<ul>
<li>First I used Outlook on my computer to test AutoDiscover ( Hold down CTRL + rRght click the Outlook Icon on the system tray near the time and select Test AutoDiscover ) – I did this because we have .com email addresses and a .net email server and I wanted to be sure everything was correct</li>
<li>After messing with the server settings a bit ( swaping .com and .net ) I got the CERT error</li>
<li>Logged into OWA to check the certificate and make sure it had all of the needed SAN names on it – it did</li>
<li>So I sat there scratching my head for a bit – then it came to me “ <em>Maybe, Windows Phone 7 does not trust startSSL</em>” – I looked it up <a href="http://msdn.microsoft.com/en-us/library/gg521150(VS.92).aspx">http://msdn.microsoft.com/en-us/library/gg521150(VS.92).aspx</a>, and my grabthars hammer startSSL / StartCOM was not listed</li>
<li>Now I had 2 issues, how to install a Cert on WP7 and where to find the root CA so I could download it to install it.</li>
<li>I found the root CA here &#8211; <a href="http://www.startssl.com/certs/">http://www.startssl.com/certs/</a> – Hint you need the <strong>CA.CER</strong> file to add the root to the phone.</li>
<li>To get the CERT on my phone I downloaded the file to my desktop, Emailed it a working Outlook account on my phone. Then clicked the file on my phone and it allowed me to install the cert. The phone is smart enough to know the file type and know what to do with it.</li>
<li>After installing the trusted root CA my none working ActiveSync account started working YEAH! more email to read while driving, I mean more email to read on my phone…..</li>
</ul>
<p>Moral of the story – WP7 only supports a limited number of certs out of the box. It’s pretty simple to add a new cert and be off and moving if you run into a cert issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://cohesivelogic.com/2011/01/windows-phone-7-ssl/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 &amp; Single Name SSL Certificates</title>
		<link>http://cohesivelogic.com/2011/01/exchange-2010-single-name-ssl-certificates/</link>
		<comments>http://cohesivelogic.com/2011/01/exchange-2010-single-name-ssl-certificates/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 22:45:39 +0000</pubDate>
		<dc:creator>Jeremy Phillips</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Certificates]]></category>

		<guid isPermaLink="false">http://cohesivelogic.com/?p=501</guid>
		<description><![CDATA[I was talking with a colleague today who was getting ready to upgrade his small Exchange environment from Exchange 2007 to Exchange 2010 and the subject of certificates came up; mainly, the cost of a SAN (Subject Alternative Name) certificate. For smaller environments many organizations either don&#8217;t want or can&#8217;t afford to spend hundreds of [...]]]></description>
			<content:encoded><![CDATA[<p>I was talking with a colleague today who was getting ready to upgrade his small Exchange environment from Exchange 2007 to Exchange 2010 and the subject of certificates came up; mainly, the cost of a SAN (Subject Alternative Name) certificate. For smaller environments many organizations either don&#8217;t want or can&#8217;t afford to spend hundreds of dollars on a SAN certificate. There is, however, a way to roll out Exchange 2010 with a single name SSL certificate as long as a few pre-requisites are met.</p>
<blockquote><p><strong>Notes: </strong></p>
<p>First and foremost, this is likely not a Microsoft supported configuration. While we&#8217;ve rolled it out in small environments with success, it may not be the best fit for you.</p>
<p>This has only been tested with all roles collocated on a single server. We haven&#8217;t tested it in highly available environments because it likely won&#8217;t work.</p>
<p>For this example, domain.com is the domain name, mail.domain.com is the URL we&#8217;re setting all services to and EXCHANGE is the NetBIOS name of the Exchange server.</p>
<p>To give credit where it&#8217;s due: I was not the first to think of doing this but instead used <a href="http://amset.info/exchange/singlenamessl.asp">Simon Butler&#8217;s excellent article on Exchange 2007 with a Single Name SSL Certificate</a> when working with 2007. It was then a logical leap to try applying a similar configuration to Exchange 2010.</p></blockquote>
<p><strong>Pre-Requisites</strong></p>
<p>1.) An external DNS provider that supports SRV records. You&#8217;ll need to insert an SRV record of _autodiscover._tcp.domain.com in DNS for this to work. We use <a href="http://www.zerigo.com/ref/d9qc3p">Zerigo</a> for this ourselves and highly recommend them.</p>
<p>2.) Outlook 2007 with the update rollup released June 27, 2007 (Discussed in <a href="http://support.microsoft.com/kb/940881">this Microsoft KB article</a>) to provide support for Exchange Autodiscover via SRV lookup.</p>
<p>3.) <a href="http://en.wikipedia.org/wiki/Split-horizon_DNS">Split-horizon DNS</a> to allow mail.domain.com to resolve to different IPs internally and externally. <em>This requires a working knowledge of DNS.</em></p>
<p>4.) An SSL certificate for mail.domain.com. While you can use any commercial provider you&#8217;d like for this, <a href="http://www.startssl.com">StartSSL</a> provides free single name SSL certificates.</p>
<p><strong>The Steps</strong></p>
<p>1.) Point external DNS for mail.domain.com to the external IP address of the Exchange server.</p>
<p>2.) Create the SRV record _autodiscover._tcp.domain.com with content of mail.domain.com on port 443. Your DNS provider might also have you enter it like this:</p>
<blockquote><p>Service: _autodiscover</p>
<p>Protocol: _tcp</p>
<p>Port Number: 443</p>
<p>Host: mail.domain.com</p></blockquote>
<p>3.) Point internal DNS for mail.domain.com to the internal IP address of the Exchange server.</p>
<blockquote><p><strong>Note:</strong></p>
<p>These examples can be copied and pasted into the text editor of your choice. Then simply replace mail.domain.com with the correct FQDN of your Exchange server and paste the correct command into a PowerShell session on your Exchange 2010 server.</p></blockquote>
<div id="_mcePaste">4.) Set the Internal URLs.</div>
<blockquote>
<div id="_mcePaste">Get-AutodiscoverVirtualDirectory | Set-AutodiscoverVirtualDirectory –InternalUrl &#8220;https://mail.domain.com/Autodiscover/Autodiscover.xml&#8221;</div>
<div id="_mcePaste">Get-ClientAccessServer | Set-ClientAccessServer –AutodiscoverServiceInternalUri &#8220;https://mail.domain.com/Autodiscover/Autodiscover.xml&#8221;</div>
<div id="_mcePaste">Get-WebservicesVirtualDirectory | Set-WebservicesVirtualDirectory –InternalUrl &#8220;https://mail.domain.com/Ews/Exchange.asmx&#8221;</div>
<div id="_mcePaste">Get-OabVirtualDirectory | Set-OabVirtualDirectory –InternalUrl &#8220;https://mail.domain.com/Oab&#8221;</div>
<div id="_mcePaste">Get-OwaVirtualDirectory | Set-OwaVirtualDirectory –InternalUrl &#8220;https://mail.domain.com/Owa&#8221;</div>
<div id="_mcePaste">Get-EcpVirtualDirectory | Set-EcpVirtualDirectory –InternalUrl &#8220;https://mail.domain.com/Ecp&#8221;</div>
<div id="_mcePaste">Get-ActiveSyncVirtualDirectory -Server $CASserver | Set-ActiveSyncVirtualDirectory -InternalUrl &#8220;https://mail.domain.com/Microsoft-Server-ActiveSync&#8221;</div>
</blockquote>
<div id="_mcePaste">5.) Set the External URLs.</div>
<blockquote>
<div id="_mcePaste">Get-AutodiscoverVirtualDirectory | Set-AutodiscoverVirtualDirectory –ExternalUrl &#8220;https://mail.domain.com/Autodiscover/Autodiscover.xml&#8221;</div>
<div id="_mcePaste">Get-webservicesVirtualDirectory | Set-webservicesVirtualDirectory –ExternalUrl &#8220;https://mail.domain.com/Ews/Exchange.asmx&#8221;</div>
<div id="_mcePaste">Get-OabVirtualDirectory | Set-OabVirtualDirectory –ExternalUrl &#8220;https://mail.domain.com/Oab&#8221;</div>
<div id="_mcePaste">Get-OwaVirtualDirectory | Set-OwaVirtualDirectory –ExternalUrl &#8220;https://mail.domain.com/Owa&#8221;</div>
<div id="_mcePaste">Get-EcpVirtualDirectory | Set-EcpVirtualDirectory –ExternalUrl &#8220;https://mail.domain.com/Ecp&#8221;</div>
<div id="_mcePaste">Get-ActiveSyncVirtualDirectory | Set-ActiveSyncVirtualDirectory -ExternalUrl &#8220;https://mail.domain.com/Microsoft-Server-ActiveSync&#8221;</div>
</blockquote>
<div id="_mcePaste">6.) Verify they&#8217;re all set correctly.</div>
<blockquote>
<div id="_mcePaste">Get-AutodiscoverVirtualDirectory | ft Identity,InternalURL,ExternalUrl</div>
<div id="_mcePaste">Get-webservicesVirtualDirectory | ft Identity,InternalURL,ExternalUrl</div>
<div id="_mcePaste">Get-OabVirtualDirectory | ft Identity,InternalURL,ExternalUrl</div>
<div id="_mcePaste">Get-OwaVirtualDirectory | ft Identity,InternalURL,ExternalUrl</div>
<div id="_mcePaste">Get-EcpVirtualDirectory | ft Identity,InternalURL,ExternalUrl</div>
<div id="_mcePaste">Get-ActiveSyncVirtualDirectory | ft Identity,InternalURL,ExternalUrl</div>
</blockquote>
<div id="_mcePaste">Expected output of the above commands is something like this:</div>
<blockquote>
<div id="_mcePaste">
<div id="_mcePaste">[PS] C:\Windows\system32&gt;Get-AutodiscoverVirtualDirectory | ft Identity,InternalURL,ExternalUrl</div>
<div id="_mcePaste">Identity                                InternalUrl                             ExternalUrl</div>
<div id="_mcePaste">&#8212;&#8212;&#8211;                                &#8212;&#8212;&#8212;&#8211;                             &#8212;&#8212;&#8212;&#8211;</div>
<div id="_mcePaste">EXCHANGE\Autodiscover (Default Web Site)  https://mail.domain.com/autod&#8230; https://mail.domain.com/autod&#8230;</div>
<div id="_mcePaste">[PS] C:\Windows\system32&gt;Get-webservicesVirtualDirectory | ft Identity,InternalURL,ExternalUrl</div>
<div id="_mcePaste">Identity                                InternalUrl                             ExternalUrl</div>
<div id="_mcePaste">&#8212;&#8212;&#8211;                                &#8212;&#8212;&#8212;&#8211;                             &#8212;&#8212;&#8212;&#8211;</div>
<div id="_mcePaste">EXCHANGE\EWS (Default Web Site)           https://mail.domain.com/ews/e&#8230; https://mail.domain.com/ews/e&#8230;</div>
<div id="_mcePaste">[PS] C:\Windows\system32&gt;Get-OabVirtualDirectory | ft Identity,InternalURL,ExternalUrl</div>
<div id="_mcePaste">Identity                                InternalUrl                             ExternalUrl</div>
<div id="_mcePaste">&#8212;&#8212;&#8211;                                &#8212;&#8212;&#8212;&#8211;                             &#8212;&#8212;&#8212;&#8211;</div>
<div id="_mcePaste">EXCHANGE\OAB (Default Web Site)           http://mail.domain.com/OAB       https://mail.domain.com/OAB</div>
<div id="_mcePaste">[PS] C:\Windows\system32&gt;Get-OwaVirtualDirectory | ft Identity,InternalURL,ExternalUrl</div>
<div id="_mcePaste">Identity                                InternalUrl                             ExternalUrl</div>
<div id="_mcePaste">&#8212;&#8212;&#8211;                                &#8212;&#8212;&#8212;&#8211;                             &#8212;&#8212;&#8212;&#8211;</div>
<div id="_mcePaste">EXCHANGE\owa (Default Web Site)           https://mail.domain.com/owa      https://mail.domain.com/owa</div>
<div id="_mcePaste">[PS] C:\Windows\system32&gt;Get-EcpVirtualDirectory | ft Identity,InternalURL,ExternalUrl</div>
<div id="_mcePaste">Identity                                InternalUrl                             ExternalUrl</div>
<div id="_mcePaste">&#8212;&#8212;&#8211;                                &#8212;&#8212;&#8212;&#8211;                             &#8212;&#8212;&#8212;&#8211;</div>
<div id="_mcePaste">EXCHANGE\ecp (Default Web Site)           https://mail.domain.com/ecp      https://mail.domain.com/ecp</div>
</div>
</blockquote>
<p>7.) You can verify everything is working by using the Exchange Remote Connectivity Analyzer located at <a href="https://www.testexchangeconnectivity.com">https://www.testexchangeconnectivity.com</a></p>
<p>8.) Don&#8217;t forget to <a href="/managed-services/">monitor</a> your new Exchange server!</p>
]]></content:encoded>
			<wfw:commentRss>http://cohesivelogic.com/2011/01/exchange-2010-single-name-ssl-certificates/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Automatically Fixing FailedAndSuspended Exchange 2010 Databases with PowerShell</title>
		<link>http://cohesivelogic.com/2010/08/automatically-fixing-failedandsuspended-exchange-2010-databases-with-powershell/</link>
		<comments>http://cohesivelogic.com/2010/08/automatically-fixing-failedandsuspended-exchange-2010-databases-with-powershell/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 18:42:10 +0000</pubDate>
		<dc:creator>Jeremy Phillips</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://cohesivelogic.com/?p=258</guid>
		<description><![CDATA[Another quick script, this one finds all databases located on Exchange 2010 servers with a status of &#8216;FailedAndSuspended&#8217; and then reseeds them. Since this scripts makes changes to the systems, instead of just reading information, all activities are logged via PowerShell&#8217;s transcript feature. You&#8217;ll need to change the path in the 5th line of the [...]]]></description>
			<content:encoded><![CDATA[<div>
<div id="_mcePaste">Another quick script, this one finds all databases located on Exchange 2010 servers with a status of &#8216;FailedAndSuspended&#8217; and then reseeds them. Since this scripts makes changes to the systems, instead of just reading information, all activities are logged via PowerShell&#8217;s transcript feature. You&#8217;ll need to change the path in the 5th line of the script to reflect an actual location on your system.</div>
<div>Note that there are other options besides a reseed, this just makes the most sense the majority of the time.</div>
<p><code></p>
<div>add-pssnapin *0* -ErrorAction SilentlyContinue</div>
<div id="_mcePaste">$startstring="Start script run at:  "</div>
<div id="_mcePaste">$startendtime=date</div>
<div id="_mcePaste">$startannounce=$startstring+$startendtime</div>
<div id="_mcePaste">Start-Transcript -Append -Force -Path 'C:\&lt;path&gt;\DBHealthFix.log'</div>
<div id="_mcePaste">$startannounce</div>
<div id="_mcePaste">#gets list of mailboxservers, locates 2010 servers, gets db copy status, finds copies that are failed, updates failed copies</div>
<div id="_mcePaste">$mailboxservers = get-mailboxserver | get-exchangeserver | ?{$_.IsE14OrLater -eq 'True'}</div>
<div id="_mcePaste">foreach ($mailboxserver in $mailboxservers){</div>
<div id="_mcePaste">get-mailboxdatabasecopystatus -Server $mailboxserver.name | ?{$_.Status -like 'FailedAndSuspended'} | update-mailboxdatabasecopy -deleteexistingfiles -confirm:$false</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">stop-transcript</div>
<p></code></p>
<p>Here are some screenshots of what happens along the way:</p>
<div>
<p><a href='http://cohesivelogic.com/2010/08/automatically-fixing-failedandsuspended-exchange-2010-databases-with-powershell/dbhealthfailed1/' title='DBHealthFailed1'><img width="150" height="150" src="http://cohesivelogic.com/wp-content/uploads/2010/08/DBHealthFailed1-150x150.png" class="attachment-thumbnail" alt="DBHealthFailed1" title="DBHealthFailed1" /></a><br />
<a href='http://cohesivelogic.com/2010/08/automatically-fixing-failedandsuspended-exchange-2010-databases-with-powershell/dbhealthfailed2/' title='DBHealthFailed2'><img width="150" height="150" src="http://cohesivelogic.com/wp-content/uploads/2010/08/DBHealthFailed2-150x150.png" class="attachment-thumbnail" alt="DBHealthFailed2" title="DBHealthFailed2" /></a><br />
<a href='http://cohesivelogic.com/2010/08/automatically-fixing-failedandsuspended-exchange-2010-databases-with-powershell/dbhealthfailed3a/' title='DBHealthFailed3a'><img width="150" height="150" src="http://cohesivelogic.com/wp-content/uploads/2010/08/DBHealthFailed3a-150x150.png" class="attachment-thumbnail" alt="DBHealthFailed3a" title="DBHealthFailed3a" /></a><br />
<a href='http://cohesivelogic.com/2010/08/automatically-fixing-failedandsuspended-exchange-2010-databases-with-powershell/dbhealthfailed4/' title='DBHealthFailed4'><img width="150" height="150" src="http://cohesivelogic.com/wp-content/uploads/2010/08/DBHealthFailed4-150x150.png" class="attachment-thumbnail" alt="DBHealthFailed4" title="DBHealthFailed4" /></a></p>
<p>The script shown in the first and last screenshot is <a href="http://cohesivelogic.com/2010/08/checking-exchange-2010-database-health-with-powershell/">available here</a>.</p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://cohesivelogic.com/2010/08/automatically-fixing-failedandsuspended-exchange-2010-databases-with-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

