<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Montee's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/rmontee/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/rmontee/feed.xml</link>
    <description>My place for the helpful things that come up day to day as a Microsoft Consultant</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:31:14 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Recreating a DB without permanently deleting it from Exchange</title>
      <link>https://docs.microsoft.com/archive/blogs/rmontee/recreating-a-db-without-permanently-deleting-it-from-exchange</link>
      <pubDate>Fri, 11 Jan 2013 16:36:00 GMT</pubDate>
      <dc:creator><![CDATA[Robert M. Montee]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/rmontee/2013/01/11/recreating-a-db-without-permanently-deleting-it-from-exchange/</guid>
      <description><![CDATA[The situation has come up for me that&nbsp;a&nbsp;Exchange 2010 database&nbsp;has grown larger than...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;"><span style="font-family: Calibri;">The situation has come up for me that&nbsp;a&nbsp;Exchange 2010 database&nbsp;has grown larger than needed or expected and an Offline</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Exchange Defrag with Eseutil isn&rsquo;t a good option.Steps:</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">1. Move the mailboxes currently residing in the DB to other DBs or a temporarily created DB.</span></span></p>
<p style="padding-left: 30px;"><span style="font-size: small;"><span style="font-family: Calibri;">a. Make sure you move all the mailboxes.&nbsp; You can use the Exchange Management Console or PowerShell.</span></span></p>
<p style="padding-left: 30px;"><span style="font-size: small;"><span style="font-family: Calibri;">b.&nbsp;</span></span><span style="font-size: small; background-color: #999999;"><span style="font-family: Calibri;">Get-mailbox &ndash;Database &lt;DBNAME&gt; | Get-MailboxStatistics | FT Displayname,DisconnectReason</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/3326.01.bmp" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/3326.01.bmp"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/3326.01.bmp" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/3326.01.bmp" alt="" border="0" /></a></span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="font-family: Calibri;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/0272.02.bmp" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/0272.02.bmp"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/0272.02.bmp" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/0272.02.bmp" alt="" border="0" /></a></span></span></span></span></p>
<p style="padding-left: 30px;"><span style="font-size: small;"><span style="font-family: Calibri;">c. Look for mailboxes that have a blank value for DisconnectReason.&nbsp; These are active mailboxes and still need to be moved before continuing.</span></span></p>
<p style="padding-left: 30px;"><span style="font-size: small;"><span style="font-family: Calibri;">d. If this Database is a member of a Database Availability Group (DAG) &ldquo;remove&rdquo; all the passive copies.</span></span></p>
<p style="padding-left: 30px;"><span style="font-size: small;"><span style="font-family: Calibri;">e. If using circular logging the last passive copy cannot be removed until circular logging is disabled on the active &ldquo;Mounted&rdquo; DB.&nbsp; Disabling circular logging will require the active DB be dismounted and remounted to take effect.</span></span></p>
<p style="padding-left: 30px;"><span style="font-size: small;"><span style="font-family: Calibri;">f. Using PowerShell execute the following commands:</span></span></p>
<p style="padding-left: 30px;"><span style="font-size: small;"><span style="font-family: Calibri;">g. </span></span><span style="font-size: small; background-color: #999999;"><span style="font-family: Calibri;">Set-MailboxDatabase &ndash;Identity &lt;DBNAME&gt; -CircularLoggingEnabled:$False</span></span></p>
<p style="padding-left: 30px;"><span style="color: #000000; font-size: small; background-color: #ffffff;"><span style="font-family: Calibri;">h. </span></span><span style="font-size: small; background-color: #999999;"><span style="font-family: Calibri;">Dismount-Database &ndash; Identity &lt;DBNAME&gt;</span></span></p>
<p style="padding-left: 30px;"><span style="color: #000000; font-size: small; background-color: #ffffff;"><span style="font-family: Calibri;">i.&nbsp; <span style="background-color: #999999;">Mount-Database &ndash;Identity &lt;DBNAME&gt;</span></span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/0842.03.bmp" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/0842.03.bmp"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/0842.03.bmp" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/0842.03.bmp" alt="" border="0" /></a></span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">2. Remove the last passive database copy.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">3. Dismount the active DB copy again.</span></span></p>
<p><span style="color: #333333; font-size: small; background-color: #ffffff;"><span style="font-family: Calibri;">4. <span style="background-color: #999999;">Dismount-Database &ndash; Identity &lt;DBNAME&gt;</span></span></span></p>
<p><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/2158.04.bmp" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/2158.04.bmp"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/2158.04.bmp" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/2158.04.bmp" alt="" border="0" /></a></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">5. At this point you&rsquo;ll need to delete all the existing database (.EDB) and log files that are connected to the database on all the servers that have copies of the files with Windows Explorer.</span></span>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/4075.05.bmp" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/4075.05.bmp"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/4075.05.bmp" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/4075.05.bmp" alt="" border="0" /></a></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/8738.06.bmp" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/8738.06.bmp"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/8738.06.bmp" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/8738.06.bmp" alt="" border="0" /></a></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">6. Remember if your .LOG files are stored separately to delete those as well.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">7. Now you need to force mount the database on the server that you just dismounted in the previous step. &nbsp;This force mount will force Exchange to recreate a blank .EDB file for the database.</span></span></p>
<p><span style="font-size: small; background-color: #ffffff;"><span style="font-family: Calibri;"><span style="color: #000000;">8. </span><span style="background-color: #999999;">Mount-Database &ndash;Identity &lt;DBNAME&gt; -Force</span></span>&nbsp;</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/8037.07.bmp" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/8037.07.bmp"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/8037.07.bmp" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/8037.07.bmp" alt="" border="0" /></a></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/4278.08.bmp" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/4278.08.bmp"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/4278.08.bmp" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/4278.08.bmp" alt="" border="0" /></a></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">9. If this database is part of a DAG there are a few steps remaining.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">10. Create passive copies</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">11. Execute the following command as many times as needed to create the needed amount of copies.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">12. Make sure each time the command is executed for a single DB that the ActivationPreference number is incremented.</span></span></p>
<p><span style="color: #333333; font-size: small; background-color: #ffffff;"><span style="font-family: Calibri;">13. <span style="background-color: #999999;">Add-MailboxDataBaseCopy &ndash;Identity &lt;DBNAME&gt; -MailboxServer &lt;TARGETSERVER&gt; -ActivationPreference &lt;#&gt; -SeedingPostponed</span></span></span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/8737.09.bmp" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/8737.09.bmp"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/8737.09.bmp" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/8737.09.bmp" alt="" border="0" /></a></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">14. Since database seeding was postponed in the last command we now need to begin seeding.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">15. The source server can be any of the copies but in the end for the seeding to finish it will ultimately connect to the actively mounted copy.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">16. You may have to suspend replication for the passive copies before running the update-mailboxdatabasecopy cmdlet.</span></span></p>
<p><span style="font-size: small; background-color: #ffffff;"><span style="font-family: Calibri;"><span style="color: #000000;">17. </span><span style="background-color: #999999;">Update-MailboxDatabaseCopy &ndash;Identity &lt;DBNAME\HOSTNAME&gt; -DeleteExistingFiles &ndash;Network &lt;REPLICATIONNETWORK&gt; -SourceServer &lt;SOURCEDBSERVER&gt;</span></span></span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/6837.10.bmp" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/6837.10.bmp"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/6837.10.bmp" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/6837.10.bmp" alt="" border="0" /></a></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">18. Once all copies are created and if circular logging was enabled before it&rsquo;s now a good time to re-enable circular logging.</span></span></p>
<p><span style="font-size: small; background-color: #ffffff;"><span style="font-family: Calibri;"><span style="color: #000000;">19. </span><span style="background-color: #999999;">Set-MailboxDatabase &ndash;Identity &lt;DBNAME&gt; -CircularLoggingEnalbed:$True</span></span></span></p>
<p><span style="font-size: small; background-color: #999999;"><span style="font-family: Calibri;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/6471.11.bmp" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/6471.11.bmp"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/6471.11.bmp" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/6471.11.bmp" alt="" border="0" /></a></span></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small; background-color: #ffffff;"><span style="font-family: Calibri;">Hope this helps and hit me with feedback</span></span></p>
<p><span style="font-size: small; background-color: #ffffff;"><span style="font-family: Calibri;">Regards,</span></span></p>
<p><span style="font-size: small; background-color: #ffffff;"><span style="font-family: Calibri;">Robert</span></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Generate A System Health Report</title>
      <link>https://docs.microsoft.com/archive/blogs/rmontee/generate-a-system-health-report</link>
      <pubDate>Wed, 22 Feb 2012 21:34:00 GMT</pubDate>
      <dc:creator><![CDATA[Robert M. Montee]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/rmontee/2012/02/22/generate-a-system-health-report/</guid>
      <description><![CDATA[I&rsquo;ve been working on migrations a lot lately.
Something that comes up is the utilization of...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">I&rsquo;ve been working on migrations a lot lately.</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Something that comes up is the utilization of the Windows Server during or after migration.</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Quick way I&rsquo;ve found to comfort the customer that the server is performing or that a problem does exist is to &ldquo;Generate a system health report&rdquo;.</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">This report will collect data for 60 seconds about your local server and include suggestions for performance improvements.</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">There are a few ways to find this in Windows Server 2008.</span></span></p>
<ul>
<li><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">First click &ldquo;Start&rdquo; and type &ldquo;Generate a system health report&rdquo;</span></span></li>
<li><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Or second navigate your way to the Control Panel choose &ldquo;System and Security&rdquo; and choose &ldquo;Generate a system health report&rdquo;.</span></span></li>
<li><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">The last is to type &ldquo;Generate a system health report&rdquo; into the &ldquo;Search Control Panel&rdquo; box in the upper right hand corner of the Control Panel window.</span></span></li>
</ul>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Once armed with this data it&rsquo;s easier to refute or acknowledge an issue is at hand.</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">BTW if you&rsquo;re looking for this same thing in Windows 7 it&rsquo;s there just buried a bit more.</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Search Performance in the Start Menu, choose &ldquo;Performance Information and Tools&rdquo;, click &ldquo;Advanced Tools&rdquo; from the menu on the left, and finally choose &ldquo;Generate a system health report&rdquo;.</span></span></p>
<p><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/0317.Health%20Report.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/0317.Health-Report.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/92/92/0317.Health%20Report.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-92-92/0317.Health-Report.png" /></a></p>]]></content:encoded>
    </item>
  </channel>
</rss>