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