<?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>danejeffrey.com &#187; Exchange</title>
	<atom:link href="http://danejeffrey.com/blog/category/technology/exchange/feed/" rel="self" type="application/rss+xml" />
	<link>http://danejeffrey.com/blog</link>
	<description>Good ways to break things.</description>
	<lastBuildDate>Fri, 03 Sep 2010 03:27:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Exchange 2007 Mailbox Quota Notification</title>
		<link>http://danejeffrey.com/blog/2010/08/12/exchange-2007-mailbox-quota-notification/</link>
		<comments>http://danejeffrey.com/blog/2010/08/12/exchange-2007-mailbox-quota-notification/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 10:38:56 +0000</pubDate>
		<dc:creator>danejeff</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://danejeffrey.com/blog/?p=314</guid>
		<description><![CDATA[Powershell script to check mailboxes that are at or close to quota and send the mailbox an email to advise:
$smtpserver = ""
$replyemailadd = ""
$mailboxserver = ""
$users = Get-MailBoxStatistics -Server $mailboxserver &#124; where {"IssueWarning","ProhibitSend","MailboxDisabled" -contains $_.StorageLimitStatus} 

foreach ($objItem in $users)
{
$mailbox1 = $objItem.displayName + " item count: " + $objItem.itemcount + ", using " + $objItem.totalitemsize.value.ToMB() + [...]]]></description>
			<content:encoded><![CDATA[<p>Powershell script to check mailboxes that are at or close to quota and send the mailbox an email to advise:</p>
<pre class="brush:ps">$smtpserver = ""
$replyemailadd = ""
$mailboxserver = ""
$users = Get-MailBoxStatistics -Server $mailboxserver | where {"IssueWarning","ProhibitSend","MailboxDisabled" -contains $_.StorageLimitStatus} 

foreach ($objItem in $users)
{
$mailbox1 = $objItem.displayName + " item count: " + $objItem.itemcount + ", using " + $objItem.totalitemsize.value.ToMB() + "MB`n"
$mailbox2 = get-mailboxfolderstatistics $objItem.displayName | ft FolderPath, ItemsInFolder, @{Label="FolderSize(MB)";expression={$_.FolderSize.ToMB()} } -auto | Out-String
$mailbox3 = "Please contact ... if you have any questions regarding your mailbox quota.`n"
$messagesubject = "Quota Warning for " + $objItem.displayName + ", Size " + $objItem.totalitemsize.value.ToMB() + "MB used"
$mailboxfinal = $mailbox1 + $mailbox2 + $mailbox3

$temp = get-mailbox -identity $objItem.DisplayName

$smtp = new-object Net.Mail.SmtpClient($smtpServer)
$smtp.Send($replyemailadd, $temp.PrimarySmtpAddress,$messagesubject,$mailboxfinal)
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://danejeffrey.com/blog/2010/08/12/exchange-2007-mailbox-quota-notification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 Message Discovery and Removal Across Mailboxes</title>
		<link>http://danejeffrey.com/blog/2010/06/16/exchange-2007-message-discovery-and-removal-across-mailboxes/</link>
		<comments>http://danejeffrey.com/blog/2010/06/16/exchange-2007-message-discovery-and-removal-across-mailboxes/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 05:06:46 +0000</pubDate>
		<dc:creator>danejeff</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://danejeffrey.com/blog/?p=317</guid>
		<description><![CDATA[Originally found this post on the Technet forums which links to this MS Exchange Team blog from a few years ago.
This cmdlet is great for discovering or removing messages by searching one or many mailboxes. Excellent for removing large messages sent to large distribution groups or virus/spam messages if identified early by the administrator, etc.
A [...]]]></description>
			<content:encoded><![CDATA[<p>Originally found <a href="http://social.technet.microsoft.com/forums/en-US/exchangesvrgeneral/thread/c9025ff3-cf29-48ca-b17d-f98bb64c6bcf">this</a> post on the Technet forums which links to <a href="http://msexchangeteam.com/archive/2006/12/18/431934.aspx">this</a> MS Exchange Team blog from a few years ago.</p>
<p>This cmdlet is great for discovering or removing messages by searching one or many mailboxes. Excellent for removing large messages sent to large distribution groups or virus/spam messages if identified early by the administrator, etc.</p>
<p>A couple of errors that might be returned by this cmdlet are:<br />
<code><br />
[0] [ERROR] Error was found for <SourceMailbox> (SourceMailboxEmailAddress) because: Error occurred in the step: Moving messages. Failed to copy messages to the destination mailbox store with error:<br />
MAPI or an unspecified service provider.<br />
ID no: 00000000-0000-00000000, error code: -1056749164</p>
<p>[0] [ERROR] Error was found for <SourceMailbox> (SourceMailboxEmailAddress) because: Error occurred in the step: Creating target folder in the target mailbox. An unknown error has occurred., error code: -2147221233<br />
</code></p>
<p>These are permissions issues. The account running the command needs to have full permissions to the source mailbox (first error code) and the destination mailbox (second error code). This is explained well <a href="http://www.simple-talk.com/sysadmin/exchange/goodbye-exchange-exmerge,-hello-export-mailbox/">here</a></p>
<p>That said, also take a look at <a href="http://romanroz.blogspot.com/2008/03/getting-export-mailbox-cmdlet-to-work.html">this</a> if you are sure that permissions are set correctly</p>
]]></content:encoded>
			<wfw:commentRss>http://danejeffrey.com/blog/2010/06/16/exchange-2007-message-discovery-and-removal-across-mailboxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Active Directory Topology Diagrammer</title>
		<link>http://danejeffrey.com/blog/2010/05/07/active-directory-topology-diagrammer/</link>
		<comments>http://danejeffrey.com/blog/2010/05/07/active-directory-topology-diagrammer/#comments</comments>
		<pubDate>Fri, 07 May 2010 05:44:53 +0000</pubDate>
		<dc:creator>danejeff</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://danejeffrey.com/blog/?p=311</guid>
		<description><![CDATA[I may be a bit late in discovering this since it was last published in 2007, but this tool is brilliant. In short, it automatically discovers and diagrams Active Directory domains, OUs, Sites, Exchange organizations, Applications and Servers. 
It requires Visio 2003 or 2007 and uses the .NET Framework v2.0 and can be found here
]]></description>
			<content:encoded><![CDATA[<p>I may be a bit late in discovering this since it was last published in 2007, but this tool is brilliant. In short, it automatically discovers and diagrams Active Directory domains, OUs, Sites, Exchange organizations, Applications and Servers. </p>
<p>It requires Visio 2003 or 2007 and uses the .NET Framework v2.0 and can be found <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=cb42fc06-50c7-47ed-a65c-862661742764&#038;displaylang=en">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://danejeffrey.com/blog/2010/05/07/active-directory-topology-diagrammer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 &#8211; 0&#215;8004010F Object could not be found</title>
		<link>http://danejeffrey.com/blog/2009/10/08/exchange-2007-0x8004010f-object-could-not-be-found/</link>
		<comments>http://danejeffrey.com/blog/2009/10/08/exchange-2007-0x8004010f-object-could-not-be-found/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 03:21:26 +0000</pubDate>
		<dc:creator>danejeff</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://danejeffrey.com/blog/?p=190</guid>
		<description><![CDATA[Post reboot of an Exchange public folder &#38; mailbox server, this error was received by Outlook 2003 clients. Outlook 2007 clients had no problems. Reason is because the public folder database was offline, i.e. failed to mount. The following services had failed to start: Information Store, System Attendant and Service Host.
After restarting these services successfully, [...]]]></description>
			<content:encoded><![CDATA[<p>Post reboot of an Exchange public folder &amp; mailbox server, this error was received by Outlook 2003 clients. Outlook 2007 clients had no problems. Reason is because the public folder database was offline, i.e. failed to mount. The following services had failed to start: Information Store, System Attendant and Service Host.</p>
<p>After restarting these services successfully, the Information Store was able to mount the PF database and the error is cleared for the clients. The PF database stored the offline address book for these clients and that was the object that could not be found.</p>
<p>This <a href="http://support.microsoft.com/kb/905813">MS KB article</a>, covers a different reason that the same error might be seen client side &#8211; because the selected OAB for the mailbox database the client was located on had an invalid (old, deleted, ???) offline address book configured.</p>
<p>Also, the reason that the services originally failed to start appears to be because the IS service was unable to contact an Active Directory domain controller when starting up:</p>
<blockquote><p>Event Type: Error<br />
Event Source: MSExchangeIS<br />
Event Category: General<br />
Event ID: 1121<br />
Date: 10/8/2009<br />
Time: 12:00:46 PM<br />
User: N/A<br />
Computer: PAC-MSG-HTR1<br />
Description:<br />
Error 0&#215;96f connecting to the Microsoft Active Directory.</p>
<p>For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.</p></blockquote>
<p>Possibly an idea to set the recovery action of these services to restart in X minutes time, especially if the site is recovering from a power outage or some other reason that both the Exchange servers and AD servers would be down or restart at the same time.</p>
<p>Finally, <a href="http://msexchangeteam.com/archive/2007/04/19/437902.aspx" target="_blank">this link</a> [msexchangeteam.com] has lots of good information on the various possible scenarios resulting in an 0&#215;800401oF MAPI error</p>
]]></content:encoded>
			<wfw:commentRss>http://danejeffrey.com/blog/2009/10/08/exchange-2007-0x8004010f-object-could-not-be-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
