<?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>Matt Carey&#039;s Blog</title>
	<atom:link href="http://matt-carey.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://matt-carey.com/blog</link>
	<description>Random babble about stuff that I don&#039;t want to forget</description>
	<lastBuildDate>Wed, 29 Feb 2012 16:55:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Exchange 2010 transport log report using CSV</title>
		<link>http://matt-carey.com/blog/?p=64</link>
		<comments>http://matt-carey.com/blog/?p=64#comments</comments>
		<pubDate>Wed, 29 Feb 2012 16:53:58 +0000</pubDate>
		<dc:creator>Nazarah</dc:creator>
				<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://matt-carey.com/blog/?p=64</guid>
		<description><![CDATA[$date = Get-Date $today = $date.ToShortDateString() $lastweek = $date.AddDays(-7).ToShortDateString() $result = Get-MessageTrackingLog -recipients &#60;enter email address here&#62; -start $lastweek -end $today &#124; Select-Object Timestamp,Sender,MessageSubject $csvresult = $result &#124; Export-Csv c:\scripts\solution_center_emails.csv # Configuration $emailFrom = &#8220;&#60;enter from address here&#62;&#8221; $emailTo = @(&#8220;address1@domain.com&#8220;,&#8221;address2@domain.com&#8220;) $emailSubject = &#8220;&#60;enter subject here&#62;&#8221; $emailBody = &#8220;See the attached file in CSV format for the [...]]]></description>
			<content:encoded><![CDATA[<p>$date = Get-Date<br />
$today = $date.ToShortDateString()<br />
$lastweek = $date.AddDays(-7).ToShortDateString()<br />
$result = Get-MessageTrackingLog -recipients &lt;enter email address here&gt; -start $lastweek -end $today | Select-Object Timestamp,Sender,MessageSubject<br />
$csvresult = $result | Export-Csv c:\scripts\solution_center_emails.csv</p>
<p># Configuration<br />
$emailFrom = &#8220;&lt;enter from address here&gt;&#8221;<br />
$emailTo = @(&#8220;<a href="mailto:address1@domain.com">address1@domain.com</a>&#8220;,&#8221;<a href="mailto:address2@domain.com">address2@domain.com</a>&#8220;)<br />
$emailSubject = &#8220;&lt;enter subject here&gt;&#8221;<br />
$emailBody = &#8220;See the attached file in CSV format for the calls from $lastweek to $today&#8221;<br />
$emailAttachment = &#8220;c:\scripts\solution_center_emails.csv&#8221;<br />
$smtpServer = &#8220;&lt;enter SMTP server here&gt;&#8221;</p>
<p># Send E-Mail<br />
Send-MailMessage -To $emailTo -From $emailFrom -Subject $emailSubject -Body $emailBody -Attachment $emailAttachment -SmtpServer $smtpServer</p>
<p>#Clean up / Remove File<br />
if (Test-Path $emailAttachment) {Remove-Item $emailAttachment}</p>
]]></content:encoded>
			<wfw:commentRss>http://matt-carey.com/blog/?feed=rss2&#038;p=64</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 transport log report using HTML</title>
		<link>http://matt-carey.com/blog/?p=62</link>
		<comments>http://matt-carey.com/blog/?p=62#comments</comments>
		<pubDate>Wed, 29 Feb 2012 16:51:08 +0000</pubDate>
		<dc:creator>Nazarah</dc:creator>
				<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://matt-carey.com/blog/?p=62</guid>
		<description><![CDATA[$a = &#8220;&#60;style&#62;&#8221; $a = $a + &#8220;BODY{background-color:white;}&#8221; $a = $a + &#8220;TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}&#8221; $a = $a + &#8220;TH{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:white}&#8221; $a = $a + &#8220;TD{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:white}&#8221; $a = $a + &#8220;&#60;/style&#62;&#8221; $date = Get-Date $today = $date.ToShortDateString() $yesterday = $date.AddDays(-1).ToShortDateString() $result = Get-MessageTrackingLog -recipients &#60;enter email address [...]]]></description>
			<content:encoded><![CDATA[<p>$a = &#8220;&lt;style&gt;&#8221;<br />
$a = $a + &#8220;BODY{background-color:white;}&#8221;<br />
$a = $a + &#8220;TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}&#8221;<br />
$a = $a + &#8220;TH{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:white}&#8221;<br />
$a = $a + &#8220;TD{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:white}&#8221;<br />
$a = $a + &#8220;&lt;/style&gt;&#8221;</p>
<p>$date = Get-Date<br />
$today = $date.ToShortDateString()<br />
$yesterday = $date.AddDays(-1).ToShortDateString()</p>
<p>$result = Get-MessageTrackingLog -recipients &lt;enter email address here&gt; -start $yesterday -end $today | Select-Object MessageSubject,Sender,Timestamp<br />
$htmlresult = $result | ConvertTo-HTML -head $a -body &#8220;&lt;H4&gt;Emails addressesd to &lt;enter email address here&gt; from $yesterday to $today&lt;/H4&gt;&#8221;</p>
<p># Configuration<br />
$emailFrom = &#8220;&lt;enter from address here&gt;&#8221;<br />
$emailTo = &#8220;&lt;enter to address here&gt;&#8221;<br />
$emailSubject = &#8220;&lt;enter Subject here&gt;&#8221;<br />
$emailMessage = $htmlresult<br />
$smtpServer = &#8220;&lt;enter SMTP server here&gt;&#8221;</p>
<p># SMTP Object<br />
$smtp = New-Object System.Net.Mail.SmtpClient($smtpServer)</p>
<p># Send E-Mail<br />
$msg = New-Object System.Net.Mail.MailMessage $emailFrom, $emailTo, $emailSubject, $emailMessage<br />
$msg.isBodyhtml = $true<br />
$smtp.send($msg)</p>
]]></content:encoded>
			<wfw:commentRss>http://matt-carey.com/blog/?feed=rss2&#038;p=62</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding receive connector IP addresses using PowerShell</title>
		<link>http://matt-carey.com/blog/?p=59</link>
		<comments>http://matt-carey.com/blog/?p=59#comments</comments>
		<pubDate>Fri, 03 Feb 2012 19:59:59 +0000</pubDate>
		<dc:creator>Nazarah</dc:creator>
				<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://matt-carey.com/blog/?p=59</guid>
		<description><![CDATA[Be sure to modify your values for the connector name, and file path. This will append to the existing path, not over write it. It will throw an error and continue if a value already exists. &#160; $rc = Get-ReceiveConnector -Identity “Anonymous SMTP Relay Connector” Get-Content &#8220;c:\scripts\addrelayips.txt&#8221; &#124; foreach {$rc.RemoteIPRanges += &#8220;$_&#8221;} Set-ReceiveConnector &#8220;Anonymous SMTP [...]]]></description>
			<content:encoded><![CDATA[<p>Be sure to modify your values for the connector name, and file path. This will append to the existing path, not over write it. It will throw an error and continue if a value already exists.</p>
<p>&nbsp;</p>
<p>$rc = Get-ReceiveConnector -Identity “Anonymous SMTP Relay Connector”<br />
Get-Content &#8220;c:\scripts\addrelayips.txt&#8221; | foreach {$rc.RemoteIPRanges += &#8220;$_&#8221;}<br />
Set-ReceiveConnector &#8220;Anonymous SMTP Relay Connector&#8221; -RemoteIPRanges $rc.RemoteIPRanges</p>
]]></content:encoded>
			<wfw:commentRss>http://matt-carey.com/blog/?feed=rss2&#038;p=59</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete files older than N days old</title>
		<link>http://matt-carey.com/blog/?p=53</link>
		<comments>http://matt-carey.com/blog/?p=53#comments</comments>
		<pubDate>Wed, 04 Jan 2012 14:27:37 +0000</pubDate>
		<dc:creator>Nazarah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://matt-carey.com/blog/?p=53</guid>
		<description><![CDATA[Simple forfiles command: forfiles /P X:\ /D -3 /S /C &#8220;cmd /c del @path /Q&#8221; Make sure X:\ is a valid path, or is mapped to your desired path before running this. This specific command will remove files older than 3 days old, and will do it recursively without prompting.]]></description>
			<content:encoded><![CDATA[<p>Simple forfiles command:</p>
<p>forfiles /P X:\ /D -3 /S /C &#8220;cmd /c del @path /Q&#8221;</p>
<p>Make sure X:\ is a valid path, or is mapped to your desired path before running this. This specific command will remove files older than 3 days old, and will do it recursively without prompting.</p>
]]></content:encoded>
			<wfw:commentRss>http://matt-carey.com/blog/?feed=rss2&#038;p=53</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 management console will not open</title>
		<link>http://matt-carey.com/blog/?p=51</link>
		<comments>http://matt-carey.com/blog/?p=51#comments</comments>
		<pubDate>Mon, 05 Dec 2011 19:51:54 +0000</pubDate>
		<dc:creator>Nazarah</dc:creator>
				<category><![CDATA[Exchange 2010]]></category>

		<guid isPermaLink="false">http://matt-carey.com/blog/?p=51</guid>
		<description><![CDATA[Here is a fix to try, worked for me on one server. C:\users\&#60;specific user&#62;\AppData\Roaming\Microsoft\MMC\Exchange Management Console\ there is a config file. Delete it In the registry under HKCU\Software\Microsoft\Exchangeserver\v14\AdminTools\NodeStructureSettings delete the value NodeStructureSettings]]></description>
			<content:encoded><![CDATA[<p>Here is a fix to try, worked for me on one server.</p>
<p>C:\users\&lt;specific user&gt;\AppData\Roaming\Microsoft\MMC\Exchange Management Console\ there is a config file. Delete it</p>
<p>In the registry under HKCU\Software\Microsoft\Exchangeserver\v14\AdminTools\NodeStructureSettings delete the value NodeStructureSettings</p>
]]></content:encoded>
			<wfw:commentRss>http://matt-carey.com/blog/?feed=rss2&#038;p=51</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;No description found&#8221; message when editing a maintenance plan in SQL 2005</title>
		<link>http://matt-carey.com/blog/?p=48</link>
		<comments>http://matt-carey.com/blog/?p=48#comments</comments>
		<pubDate>Tue, 25 Oct 2011 13:15:37 +0000</pubDate>
		<dc:creator>Nazarah</dc:creator>
				<category><![CDATA[Microsoft SQL]]></category>

		<guid isPermaLink="false">http://matt-carey.com/blog/?p=48</guid>
		<description><![CDATA[Here is the fix: Before you open the management studio, run this to re register the proper DLL&#8217;s. Regsvr32 &#8220;C:\WINDOWS\system32\msxml6.dll&#8221; Regsvr32 &#8220;C:\WINDOWS\system32\msxml3.dll&#8221; Regsvr32 &#8220;C:\WINDOWS\system32\msxml.dll&#8221; regsvr32.exe ole32.dll Then open the management studio and you will be able to save the changes to your maintenance plan.]]></description>
			<content:encoded><![CDATA[<p>Here is the fix:</p>
<p>Before you open the management studio, run this to re register the proper DLL&#8217;s.</p>
<p>Regsvr32 &#8220;C:\WINDOWS\system32\msxml6.dll&#8221;<br />
Regsvr32 &#8220;C:\WINDOWS\system32\msxml3.dll&#8221;<br />
Regsvr32 &#8220;C:\WINDOWS\system32\msxml.dll&#8221;<br />
regsvr32.exe ole32.dll</p>
<p>Then open the management studio and you will be able to save the changes to your maintenance plan.</p>
]]></content:encoded>
			<wfw:commentRss>http://matt-carey.com/blog/?feed=rss2&#038;p=48</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding an ESX hosts serial number from CLI</title>
		<link>http://matt-carey.com/blog/?p=46</link>
		<comments>http://matt-carey.com/blog/?p=46#comments</comments>
		<pubDate>Mon, 16 May 2011 17:23:06 +0000</pubDate>
		<dc:creator>Nazarah</dc:creator>
				<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://matt-carey.com/blog/?p=46</guid>
		<description><![CDATA[Login to the CLI using putty, su -, then run this /usr/sbin/dmidecode &#124;grep –A4 “System Information” Gives you model number, machine type, and serial number.]]></description>
			<content:encoded><![CDATA[<p>Login to the CLI using putty, su -, then run this</p>
<p>/usr/sbin/dmidecode |grep –A4 “System Information”</p>
<p>Gives you model number, machine type, and serial number.</p>
]]></content:encoded>
			<wfw:commentRss>http://matt-carey.com/blog/?feed=rss2&#038;p=46</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to enable (or disable) 8.3 short name support on Windows Server 2008</title>
		<link>http://matt-carey.com/blog/?p=43</link>
		<comments>http://matt-carey.com/blog/?p=43#comments</comments>
		<pubDate>Tue, 10 May 2011 16:08:29 +0000</pubDate>
		<dc:creator>Nazarah</dc:creator>
				<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://matt-carey.com/blog/?p=43</guid>
		<description><![CDATA[fsutil.exe behavior set disable8dot3 0 0 will ENABLE 8.3 file names, 1 will DISABLE it.]]></description>
			<content:encoded><![CDATA[<p>fsutil.exe behavior set disable8dot3 0</p>
<p>0 will ENABLE 8.3 file names, 1 will DISABLE it.</p>
]]></content:encoded>
			<wfw:commentRss>http://matt-carey.com/blog/?feed=rss2&#038;p=43</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The name on the security certificate is invalid or does not match the name of the site</title>
		<link>http://matt-carey.com/blog/?p=38</link>
		<comments>http://matt-carey.com/blog/?p=38#comments</comments>
		<pubDate>Thu, 28 Apr 2011 15:29:29 +0000</pubDate>
		<dc:creator>Nazarah</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>

		<guid isPermaLink="false">http://matt-carey.com/blog/?p=38</guid>
		<description><![CDATA[When starting Outlook, I was getting a cert error that said this. What I did to fix it: 1. Removed all the certs that it would let me from the Exchange server. I had to leave the default there so that I did not break SMTP. 2. Created a new cert with the following in [...]]]></description>
			<content:encoded><![CDATA[<p>When starting Outlook, I was getting a cert error that said this. What I did to fix it:</p>
<p>1. Removed all the certs that it would let me from the Exchange server. I had to leave the default there so that I did not break SMTP.</p>
<p>2. Created a new cert with the following in there for the SANs</p>
<p>externaldomain.com<br />
mail.externaldomain.com<br />
autodiscover<br />
autodiscover.internaldomain.local<br />
servername<br />
servername.internaldomain.local<br />
internaldomain.local</p>
<p>Don&#8217;t forget the last SAN of internaldomain.local alone.  Imported this certtificate, and enabled it for IIS and SMTP, replacing the old certificate. I then deleted the old one, and all was well again.</p>
]]></content:encoded>
			<wfw:commentRss>http://matt-carey.com/blog/?feed=rss2&#038;p=38</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare iSCSI connection notes</title>
		<link>http://matt-carey.com/blog/?p=35</link>
		<comments>http://matt-carey.com/blog/?p=35#comments</comments>
		<pubDate>Thu, 14 Apr 2011 18:50:36 +0000</pubDate>
		<dc:creator>Nazarah</dc:creator>
				<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://matt-carey.com/blog/?p=35</guid>
		<description><![CDATA[For setting up multi pathing on VMWare with iSCSI devices. To find which vmhba corresponds to the vmnic: esxcli swiscsi vmnic list -d vmhba## To bind the iSCSI VMkernel port to the iSCSI adapter: esxcli swiscsi nic add -n &#60;vmk port name&#62; -d &#60;vmhba name&#62; To verify that the port was added to the iSCSI [...]]]></description>
			<content:encoded><![CDATA[<p>For setting up multi pathing on VMWare with iSCSI devices.</p>
<p>To find which vmhba corresponds to the vmnic:<br />
esxcli swiscsi vmnic list -d vmhba##</p>
<p>To bind the iSCSI VMkernel port to the iSCSI adapter:<br />
esxcli swiscsi nic add -n &lt;vmk port name&gt; -d &lt;vmhba name&gt;</p>
<p>To verify that the port was added to the iSCSI adapter:<br />
esxcli swiscsi nic list -d vmhba##</p>
]]></content:encoded>
			<wfw:commentRss>http://matt-carey.com/blog/?feed=rss2&#038;p=35</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

