tag:blogger.com,1999:blog-37256944337392592862024-03-14T01:06:19.860+05:30Exchange Server 2007 GuideBala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-3725694433739259286.post-30717780286753470982014-11-07T20:44:00.001+05:302014-11-07T20:44:43.452+05:30Circular Logging and Mailbox Database Copies<div dir="ltr"><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px">In the transaction logging mechanism used by Exchange, each database transaction is written first to a log file and then to the database file. When a log file reaches a certain size (1 MB in Exchange 2010), it's renamed with the next generation sequence number, and a new log file is created. Over time, this results in a set of log files known as the log stream. If the Exchange Information Store or Windows stops unexpectedly, the log stream is used to recover the transactions by replaying the data from the log files into the database.</p><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px">Circular logging is a feature of the Joint Engine Technology (JET) database used by all versions of Exchange Server that can be enabled or disabled by an administrator. When enabled, circular logging allows Exchange to overwrite transaction log files after the data contained in the log files is committed to the database. By enabling it, you can reduce storage space requirements. However, without a complete set of transaction log files, you won't be able to recover any data more recent than the last full backup. In Exchange Server 5.5 and earlier, circular logging was enabled by default, and starting with Exchange 2000 Server and continuing to Exchange 2010, it is disabled by default.</p><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px">In Exchange Server 2007, we introduced continuous replication, and a companion feature that came to be known as continuous replication circular logging (CRCL). CRCL is different from JET circular logging. JET circular logging is performed by Information Store, and CRCL is performed by the Microsoft Exchange Replication Service.</p><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px">We introduced CRCL because JET circular logging can't really work in a continuous replication environment; it doesn't generate additional log files and instead overwrites the current log file when needed. In a continuous replication environment, log files are needed for log shipping and replay. As a result, unlike Jet circular logging, when you enable CRCL, the current log file is not overwritten and closed log files are generated for the log shipping and replay process.</p><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px">Specifically, the Microsoft Exchange Replication Service manages CRCL so that log continuity is maintained and logs are not deleted if they are still needed for replication. The Microsoft Exchange Replication Service and the Microsoft Exchange Information Store service communicate by using remote procedure calls (RPCs) regarding which log files can be deleted.</p><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px">For truncation to occur on highly available (non-lagged) mailbox database copies, the answer must be "Yes" to the following questions:</p><ul style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px"><li>Has the log file been backed up, or is CRCL enabled?</li><li>Is the log file below the checkpoint?</li><li>Do the other non-lagged copies of the database agree with deletion?</li><li>Has the log file been inspected by all lagged copies of the database?</li></ul><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px">For truncation to occur on lagged database copies, the answer must be "Yes" to the following questions:</p><ul style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px"><li>Is the log file below the checkpoint?</li><li>Is the log file older than ReplayLagTime + TruncationLagTime?</li><li>Is the log file deleted on the active copy of the database?</li></ul><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px">You enable and disable both features the same way; either by using the checkbox on the <a href="http://technet.microsoft.com/en-us/library/dd297937.aspx" target="_blank" style="color:rgb(0,116,158);text-decoration:none;outline:none">Maintenance tab</a> of the database Properties dialog that says <strong>Enable circular logging</strong>, or by using the <a href="http://technet.microsoft.com/en-us/library/bb123971.aspx" target="_blank" style="color:rgb(0,116,158);text-decoration:none;outline:none">Set-MailboxDatabase</a> cmdlet with the <em>-CircularLoggingEnabled</em> parameter. When you enable circular logging for a mailbox database, the type of circular logging you get depends on whether or not the mailbox database is replicated using continuous replication:</p><ul style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px"><li>If the mailbox database is not replicated, it will use JET circular logging. In this case, enabling or disabling JET circular logging will require a dismount and mount of the database.</li><li>If the mailbox database is replicated, it will use CRCL. In this case, enabling or disabling CRCL takes effect dynamically; there is no need to dismount and re-mount the database.</li></ul><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px">Because of the differences between JET circular logging and CRCL, there is no way to transition a database between JET circular logging and CRCL or vice versa. As a result, when you add the first passive copy of a database or remove the last passive copy of a database, circular logging (JET or CRCL) must be disabled. Both of these operations result in a transition between a non-replicated database and a replicated database or vice versa:</p><ul style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px"><li>If you have circular logging enabled for a non-replicated database and you add your first passive copy, Exchange will block that action to prevent switching from JET CL to CRCL. This behavior is there because we need to prevent logs from being truncated while the new copy seed starts. The newly added passive copy would not seed correctly if required logs were removed.</li><li>Same thing (sort of ) for remove. When you try to remove the last passive copy, that would result in a transition from CRCL to CL, and we block that because that transition would require a dismounting and re-mounting of the active copy of the database.</li></ul><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px">Where it gets tricky is that in both cases where we block an operation because circular logging is enabled, the error message returned to the administrator is not accurate. It says:</p><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px"><em>Database "{0}" has circular logging enabled. It is not possible to add or remove database copies while circular logging is enabled. Please disable circular logging before adding or removing mailbox database copies.</em></p><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px">In addition, a couple of topics on TechNet also repeated this requirement.</p><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px">It is actually only when you <span style="text-decoration:underline">add the second copy of a database (e.g., add the first passive copy)</span>, or when you are <span style="text-decoration:underline">trying to remove the last passive copy of a database</span> that we block and display this error message. If you are adding a third or subsequent passive copy, circular logging can remain enabled because adding the copy doesn't require a transition between the two types of circular logging. Similarly, if you are removing any passive copy except for the last passive copy of a database, circular logging can remain enabled.</p><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px">The TechNet topics have been updated to reflect this, and those updates will be published with our next document refresh. And I will be updating the string in Exchange 2010 Service Pack 2 to clarify this, as well.</p><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px"><span style="line-height:13.5636491775513px">Thank you Scott, Its really good artical about JET Circular & CRCL logging </span><br></p><p style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:14.5324802398682px">I have copied this article from below site, I am using this Blog for my reference.</p><p style><font color="#2a2a2a" face="Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif"><span style="font-size:12px;line-height:14.5324802398682px"><a href="http://blogs.technet.com/b/scottschnoll/archive/2011/06/27/circular-logging-and-mailbox-database-copies.aspx">http://blogs.technet.com/b/scottschnoll/archive/2011/06/27/circular-logging-and-mailbox-database-copies.aspx</a></span></font><br></p></div> Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com0tag:blogger.com,1999:blog-3725694433739259286.post-46045311922639631772013-07-11T18:47:00.001+05:302013-07-11T18:47:54.090+05:30Changing and managing your Office 2010 product keys<div dir="ltr"><p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px"><span style="color:rgb(238,102,51);font-size:20px">Quick version of how to change your Office 2010 key</span><br> </p><p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px">Via control panel, go to install / remove a program (this called different things in different versions of Windows, but if you have a Technet or MSDN subscription I would pretty much hope you know where this is).</p> <p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px">Find the entry for Office 2010 and choose to change the installation (not remove). The very first screen of the install wizard gives you a bunch of options, simply choose the one to enter a product key as shown below:</p> <p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px"><span id="more-289"></span></p><p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px"> <a href="http://ukcrmguru.files.wordpress.com/2010/05/office2010changeinstallationwizard.png" style="color:rgb(55,126,1);text-decoration:none"><img title="Office 2010 change installation wizard" alt="Office 2010 change installation wizard" src="http://ukcrmguru.files.wordpress.com/2010/05/office2010changeinstallationwizard_thumb.png?w=317&h=259" width="317" height="259" border="0" style="border: 0px; max-width: 100%; display: inline;"></a></p> <p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px">Note when you enter your 25 digit product key, you don't have to worry about CAPS or putting the hyphens in, that gets taken care of for you (just as with previous versions of Office). Also notice that when you put the last character in you get a message saying "Please wait while your key is validated" and the "Continue" button is greyed out and inactive (as seen below).</p> <p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px"><a href="http://ukcrmguru.files.wordpress.com/2010/05/office2010productkeyvalidation.png" style="color:rgb(55,126,1);text-decoration:none"><img title="Office 2010 product key validation" alt="Office 2010 product key validation" src="http://ukcrmguru.files.wordpress.com/2010/05/office2010productkeyvalidation_thumb.png?w=317&h=260" width="317" height="260" border="0" style="border: 0px; max-width: 100%; display: inline;"></a></p> <p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px">Assuming your key is valid the message disappears and the button is activated so you can carry on. This is much clearer than the previous method for Office 2007 where the last character simply did not appear on screen while it was validating, there was just a mysterious wait and then the character appeared along with a green tick (or not, if it was invalid).</p> <p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px">During a normal installation you then go through the various options, but if you are just changing the key that's all you need to do. Incidentally when you do install Office 2010 if you need to keep your previous version (and have a valid licence to do so, ie your Office 2010 is not an upgrade licence which effectively replaces your previous copy).</p> <h2 style="color:rgb(238,102,51);font-family:Arial,Tahoma,Verdana;font-weight:normal;margin:0px 0px 10px;padding:0px 0px 5px;font-size:20px;border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(204,204,204);line-height:20px"> Using a VB script to change your product key</h2><p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px">In the <a title="Change your Office 2010 product key KB 983473" href="http://support.microsoft.com/default.aspx/kb/983473?p=1" target="_blank" style="color:rgb(55,126,1);text-decoration:none">KB article</a> it also lists an alternative method to change your product key using the Office 2010 Client Software License Management Tool – a VBS file which is already on your machine as part of the original install, for which there is an accompanying html file with usage instructions and notes. If you have the 32 bit version on a 64 bit platform the file you need to look at would be here:</p> <p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px">%ProgramFiles(x86)%\Microsoft Office\Office14\ (note the usual inclusion of "(x86)" here)</p> <p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px">Otherwise: %ProgramFiles%\Microsoft Office\Office14\</p><p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px"> The files to look for in here are OSPP.HTM (found easily using windows search, especially on Vista or Windows 7 straight from the Start menu) and OSPP.VBS (as far as I know that stands for Office Software Protection Platform).</p> <p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px">So, the simple usage for switching to a new product key and then re-activating your copy of Office is as described in the KB article (the only differences here being the (x86) in the path in the latter two commands):</p> <blockquote style="background-color:rgb(245,245,245);margin:0px 25px 15px;padding:10px 20px 0px 15px;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(230,230,230);color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px"> <p style="margin:0px;padding:0px 0px 10px">If you are using the x86 version of Office Professional Plus 2010 on an x64 version of Windows operating system, follow these steps:</p><ol style="margin:0px;padding:0px 0px 15px"> <li style="margin:0px 0px 0px 20px;padding:0px">At the command prompt, run the following command:<br>cscript "%ProgramFiles(x86)%\Microsoft Office\Office14\ospp.vbs" /inpkey:<Product_Key><br><b>Note:</b> <Product_Key> represents the product key that you want to install.</li> <li style="margin:0px 0px 0px 20px;padding:0px">Run the following command:<br>cscript "%ProgramFiles(x86)%\Microsoft Office\Office14\ospp.vbs" /act</li></ol><p style="margin:0px;padding:0px 0px 10px">In other situations, follow these steps:</p> <ol style="margin:0px;padding:0px 0px 15px"><li style="margin:0px 0px 0px 20px;padding:0px">At the command prompt, run the following command:<br>cscript "%ProgramFiles%\Microsoft Office\Office14\ospp.vbs" /inpkey:<Product_Key></li> <li style="margin:0px 0px 0px 20px;padding:0px">Run the following command:<br>cscript "%ProgramFiles%\Microsoft Office\Office14\ospp.vbs" /act</li></ol></blockquote><h3 style="color:rgb(238,102,51);font-family:Arial,Tahoma,Verdana;font-weight:normal;margin:0px 0px 5px;padding:0px;font-size:18px;line-height:20px"> Finding out which key is installed already</h3><p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px">Another useful switch you can use is <strong>/dstatus</strong> which will report which edition is currently installed and licensed and the last 5 characters of the product key. This can be useful if you are having activation problems and need to make sure you have not used the same key twice on different machines in error, or if you are trying to maintain records and have your huge list of licence codes from various purchases and want to know which ones are used where (and perhaps which are not yet used at all). Of course, for large businesses you should be looking at volume licensing and simplifying this a lot, but many medium sized businesses may not be in a position to do that, yet need to control their spending and show they have good records of their software in use.</p> <p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px">Notice that you can use the ospp.vbs script to target another machine on the network as well, so you could get licence keys for the Office 2010 installs on all computers by name, and use it to swap the keys on them or get them to reactivate remotely, for example to check the key in use on SomeComputer:</p> <p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px">cscript "%ProgramFiles%\Microsoft Office\Office14\ospp.vbs" /dstatus SomeComputer</p><h2 style="color:rgb(238,102,51);font-family:Arial,Tahoma,Verdana;font-weight:normal;margin:0px 0px 10px;padding:0px 0px 5px;font-size:20px;border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(204,204,204);line-height:20px"> Why else would I need to change a key?</h2><p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px">Maybe you installed Office 2010 on more than one computer and then realised you had accidentally put the same key into more than one machine (which would prevent activation from working properly), and you now need to put the right code in. Of course, you might also need to change the product key to stay properly within the terms of the Technet licence since that only allows you to evaluate the product, not use it long term to actually run your business. You can either buy a regular licence to get a code, or if you bought and installed Office 2007 between March 5th and September 30th 2010 you can go to the <a title="Office 2010 Technology guarantee for free upgrade from Office 2007" href="http://blog.crmguru.co.uk/2010/05/13/changing-and-managing-your-office-2010-product-keys/www.office.com/techg" target="_blank" style="color:rgb(55,126,1);text-decoration:none">Office Technology Guarantee site</a> and get a product key for an equivalent version of Office 2010. Note you can only get a free upgrade for 25 Office products which should only matter at all to small businesses not already buying into volume licensing with software assurance, and even then it's still something for nothing.</p> <h3 style="color:rgb(238,102,51);font-family:Arial,Tahoma,Verdana;font-weight:normal;margin:0px 0px 5px;padding:0px;font-size:18px;line-height:20px">What about upgrading from different editions of the suites?</h3><p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px"> Since there is no "Ultimate" edition of Office 2010, upgrades from Office 2007 Ultimate will be to Office 2010 Professional. In all other cases the version you get is the same or a small step up from the 2007 version – most Office 2010 suites now include OneNote for example, so this will be an additional program for free. If you have 2007 programs not included in 2010, the short answer is to make sure you don't uninstall them when you install Office 2010.</p> <p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px"><br></p><p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px"> ---------------------------------------------------------------------------------------------------------------------------------------------</p><p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px"> <br></p><p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px">Other Methods to Change the Office 2010 Product Key</p><p style="margin:0px;padding:0px 0px 15px;color:rgb(17,17,17);font-family:Arial,Tahoma,Verdana;font-size:12px;line-height:20px"> <br></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">ssue: You go to activate Microsoft Office 2010 and you receive a message stating, "Your copy of Microsoft Office Professional Plus 2010 cannot be activated because the specified Product Key has already been activated the maximum number of times permitted for your software license as specified in the Microsoft Software License Terms."<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> </p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px;text-align:center"> <img src="http://www.jppinto.com/wp-content/uploads/2010/07/072910_1500_HowtoChange1.png" alt="" style="padding: 0px; margin: 0px; border: 0px; border-collapse: collapse; max-width: 100%;"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px;text-align:center"><img src="http://www.jppinto.com/wp-content/uploads/2010/07/072910_1500_HowtoChange2.png" alt="" style="padding: 0px; margin: 0px; border: 0px; border-collapse: collapse; max-width: 100%;"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> </p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> <span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">The solution is to change the product key to another product key. I will show you three different methods of changing the License Key<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><span style="padding:0px;margin:0px;font-size:1.2em;text-decoration:underline"><strong style="padding:0px;margin:0px">Method 1</strong></span><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Open "regedit"<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px;text-align:center"><img src="http://www.jppinto.com/wp-content/uploads/2010/07/072910_1500_HowtoChange3.png" alt="" style="padding: 0px; margin: 0px; border: 0px; border-collapse: collapse; max-width: 100%;"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Navigate the registry to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Registration\ and delete the whole "Registration" key located under the "14.0″ key<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Right click "Registration"<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Select "Delete"<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px;text-align:center"><img src="http://www.jppinto.com/wp-content/uploads/2010/07/072910_1500_HowtoChange4.png" alt="" style="padding: 0px; margin: 0px; border: 0px; border-collapse: collapse; max-width: 100%;"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Press "Yes"<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px;text-align:center"><img src="http://www.jppinto.com/wp-content/uploads/2010/07/072910_1500_HowtoChange5.png" alt="" style="padding: 0px; margin: 0px; border: 0px; border-collapse: collapse; max-width: 100%;"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> </p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> <span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Close Regedit, Restart an Office 2010 application. You should be prompted to reenter your License Key<br style="padding:0px;margin:0px"></span></p> <p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> </p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> <span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172);text-decoration:underline"><strong style="padding:0px;margin:0px">Method 2<br style="padding:0px;margin:0px"></strong></span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> <span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Open to Microsoft Word<br style="padding:0px;margin:0px"></span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> <span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Press "File"<br style="padding:0px;margin:0px"></span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> <span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Press "Help"<br style="padding:0px;margin:0px"></span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> <span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Select "Change Product Key" (this option was not here on my installation, I used Method 1)<br style="padding:0px;margin:0px"></span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px;text-align:center"> <img src="http://www.jppinto.com/wp-content/uploads/2010/07/072910_1500_HowtoChange6.png" alt="" style="padding: 0px; margin: 0px; border: 0px; border-collapse: collapse; max-width: 100%;"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> </p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> <span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172);text-decoration:underline"><strong style="padding:0px;margin:0px">Method 3<br style="padding:0px;margin:0px"></strong></span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> <span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Click on Start Menu > Control Panel > Programs and Features (or Add/Remove Programs, depending on your operating system).<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Click on your product, e.g. Microsoft Office Professional Plus 2010<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Click "Change" on the top menu.<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> </p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px;text-align:center"> <img src="http://www.jppinto.com/wp-content/uploads/2010/07/072910_1500_HowtoChange7.png" alt="" style="padding: 0px; margin: 0px; border: 0px; border-collapse: collapse; max-width: 100%;"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> </p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> <span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Select the option to "Enter a Product Key."<br style="padding:0px;margin:0px"></span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> <span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Press "Continue"<br style="padding:0px;margin:0px"></span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px;text-align:center"> <img src="http://www.jppinto.com/wp-content/uploads/2010/07/072910_1500_HowtoChange8.png" alt="" style="padding: 0px; margin: 0px; border: 0px; border-collapse: collapse; max-width: 100%;"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> </p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> <span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172);text-decoration:underline"><strong style="padding:0px;margin:0px">Changing your Product Key<br style="padding:0px;margin:0px"></strong></span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> <span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Once you complete one of the Methods listed above you should be able to change your Product Key<br style="padding:0px;margin:0px"></span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> <span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Enter the appropriate product key from the top of this page and click "Continue."<br style="padding:0px;margin:0px"></span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> </p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px;text-align:center"><img src="http://www.jppinto.com/wp-content/uploads/2010/07/072910_1500_HowtoChange9.png" alt="" style="padding: 0px; margin: 0px; border: 0px; border-collapse: collapse; max-width: 100%;"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Accept the agreement<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Press "Continue"<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px;text-align:center"><img src="http://www.jppinto.com/wp-content/uploads/2010/07/072910_1500_HowtoChange10.png" alt="" style="padding: 0px; margin: 0px; border: 0px; border-collapse: collapse; max-width: 100%;"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Configuration will occur<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px;text-align:center"><img src="http://www.jppinto.com/wp-content/uploads/2010/07/072910_1500_HowtoChange11.png" alt="" style="padding: 0px; margin: 0px; border: 0px; border-collapse: collapse; max-width: 100%;"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Press "Close"<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px;text-align:center"><img src="http://www.jppinto.com/wp-content/uploads/2010/07/072910_1500_HowtoChange12.png" alt="" style="padding: 0px; margin: 0px; border: 0px; border-collapse: collapse; max-width: 100%;"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Select "I want to activate the software over the Internet (recommended)"<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Press "Next"<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px;text-align:center"><img src="http://www.jppinto.com/wp-content/uploads/2010/07/072910_1500_HowtoChange13.png" alt="" style="padding: 0px; margin: 0px; border: 0px; border-collapse: collapse; max-width: 100%;"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Your product should activate successfully<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)">Press "Close"<br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px;text-align:center"><img src="http://www.jppinto.com/wp-content/uploads/2010/07/072910_1500_HowtoChange14.png" alt="" style="padding: 0px; margin: 0px; border: 0px; border-collapse: collapse; max-width: 100%;"><span style="padding:0px;margin:0px;font-size:10pt;color:rgb(20,109,172)"><br style="padding:0px;margin:0px"> </span></p><p style="padding:0px 0px 20px;margin:0px;color:rgb(53,63,72);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:16.796875px"> </p></div> Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com0tag:blogger.com,1999:blog-3725694433739259286.post-71136474004449882752013-06-25T03:02:00.001+05:302013-06-25T03:02:32.165+05:30VSS-based backup<div dir="ltr"><p style="line-height:19.1875px;margin:0px 0px 20px;color:rgb(0,0,0);font-family:Calibri,Helvetica,Arial,sans-serif;font-size:16px">Volume Shadow Copy Service (VSS) is a Windows service for capturing and creating snapshots called shadow copies. VSS, which operates at the block level of the file system, provides a backup infrastructure for Microsoft operating systems. </p> <p style="line-height:19.1875px;margin:0px 0px 20px;color:rgb(0,0,0);font-family:Calibri,Helvetica,Arial,sans-serif;font-size:16px">Windows VSS has three major components in addition to the service -- writer, requester and provider. The service sits logically in the center of the other components and handles communication between them.</p> <p style="line-height:19.1875px;margin:0px 0px 20px 20px;color:rgb(0,0,0);font-family:Calibri,Helvetica,Arial,sans-serif;font-size:16px"><b>VSS writer</b> - Each VSS-aware application installs its own VSS writer to a computer during the initial installation. <br style="margin-left:60px"> <b><br style="margin-left:60px">VSS requestor</b> - Any application that needs to quiesce data for capture can play the role of VSS requestor.<br style="margin-left:60px"><b><br style="margin-left:60px">VSS provider</b> - The provider creates and manage the shadow copies of data on the system. <br style="margin-left:60px"> </p><p style="line-height:19.1875px;margin:0px 0px 20px;color:rgb(0,0,0);font-family:Calibri,Helvetica,Arial,sans-serif;font-size:16px"><b>Here's how VSS works: </b> The VSS requestor announces that it needs to create a server snapshot. Prior to creating that snapshot, it queries the server to determine which VSS writers have been installed. (It needs this list so it can later instruct each writer to quiesce its associated application). Then, the VSS requestor instructs each VSS writer to accomplish whichever task is needed for data quiescence. After each VSS writer reports that it has completed pre-backup tasks, the VSS requestor instructs the VSS provider to create a snapshot. The provider tells the requestor where to go to locate the data it needs and the backup begins. When the VM backup is complete, the VSS requestor announces that it has completed its activities. This announcement instructs each VSS writer to perform any post-backup tasks necessary so the computer and its applications can return to regular operation.</p> <p style="line-height:19.1875px;margin:0px 0px 20px;color:rgb(0,0,0);font-family:Calibri,Helvetica,Arial,sans-serif;font-size:16px"><br></p><p style="line-height:19.1875px;margin:0px 0px 20px;color:rgb(0,0,0);font-family:Calibri,Helvetica,Arial,sans-serif;font-size:16px"> <a href="http://searchdatabackup.techtarget.com/definition/VSS-based-backup">http://searchdatabackup.techtarget.com/definition/VSS-based-backup</a><br></p></div> Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com0tag:blogger.com,1999:blog-3725694433739259286.post-62908514787672029352013-06-25T02:56:00.001+05:302013-06-25T02:56:15.905+05:30Description of Full, Incremental, and Differential Backups<div dir="ltr"><h3 id="tocHeadRef" style="margin:15px 0px;padding:0px;font-size:20px;font-weight:lighter;color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif">Full Backup (or Reference Backup)</h3> <span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">When you set the Backup Type setting to Full, all the files and folders on the drive are backed up every time you use that file set. To set the backup type, click Options on the Settings menu, and then click the Backup tab. </span><br style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <br style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"><span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">Example:</span><ol style="margin:16px 0px 16px 40px;padding:0px;color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <li style="margin:0px;padding:0px">In Backup, click the drives, files, or folders to back up, and then click Next Step.</li><li style="margin:0px;padding:0px">Click the destination (where you want the files backed up to).</li> <li style="margin:0px;padding:0px">On the Settings menu, click Options, click the Backup tab, click "Full: backup of all selected files," and then click OK.</li><li style="margin:0px;padding:0px">On the File menu, click Save As and name your backup set. Once saved, click Start Backup.</li> <li style="margin:0px;padding:0px">Provide a name for the selected drive, files, or folders in the Backup Set Label dialog box, and then click OK.</li></ol><span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">Advantages:</span><ul style="margin:16px 0px 16px 40px;padding:0px;color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <li style="margin:0px;padding:0px">All files from the selected drives and folders are backed up to one backup set.</li><li style="margin:0px;padding:0px">In the event you need to restore files, they are easily restored from the single backup set.</li> </ul><span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">Disadvantages:</span><ul style="margin:16px 0px 16px 40px;padding:0px;color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <li style="margin:0px;padding:0px">A full backup is more time consuming than other backup options.</li><li style="margin:0px;padding:0px">Full backups require more disk, tape, or network drive space.</li></ul><h3 id="tocHeadRef" style="margin:15px 0px;padding:0px;font-size:20px;font-weight:lighter;color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif"> Incremental Backup</h3><span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">An incremental backup provides a backup of files that have changed or are new since the last incremental backup. To start the process, a file set with the incremental option selected is used to perform a backup. You can select the backup type by clicking Options on the Settings menu, and then clicking the Backup tab. </span><br style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <br style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"><span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">For the first incremental backup, all files in the file set are backed up (just as in a full backup). If you use the same file set to perform a incremental backup later, only the files that have changed are backed up. If you use the same file set for a third backup, only the files that have changed since the second backup are backed up, and so on. </span><br style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <br style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"><span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">In Backup, you can select files and/or folders to be backed up. If you select a folder, all the files and folders within that folder are selected. In an incremental backup, if you select a folder, files that are added to the folder are included during the next backup. If you select specific files, files that are added to the folder are not included during the next backup. </span><br style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <br style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"><span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">Example:</span><div class="" style="margin:0px 0px 10px;padding:0px;background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <div class="" style="margin:0px;padding:0px;width:744px"><pre class="" style="padding:10px;margin-top:0px;margin-bottom:0px;width:auto;font-family:Consolas,'Courier New',Courier,monospace">Monday - Perform the first incremental backup of selected files and/or folders using a file set with the Incremental option enabled. Tuesday - Perform another backup with the backup file set you created Monday. Only files that have changed since Monday's backup are backed up. Wednesday - Perform another backup with the backup file set you created Monday. Only files that have changed since Tuesday's incremental backup are backed up. </pre></div></div><span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">To reset a file set so that the next backup backs up all files, and not just files that are new or have changed, follow these steps:</span><ol style="margin:16px 0px 16px 40px;padding:0px;color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <li style="margin:0px;padding:0px">On the File menu, click Open File Set. Click the file set you want to use, and then click Open. Click Next Step.</li><li style="margin:0px;padding:0px">Click the destination (where you want the files backed up to).</li> <li style="margin:0px;padding:0px">On the Settings menu, click Options, click the Backup tab, click "Full: backup of all selected files," and then click OK.</li><li style="margin:0px;padding:0px">On the File menu, click Save to save your backup set.</li> <li style="margin:0px;padding:0px">Repeat steps 1 and 2.</li><li style="margin:0px;padding:0px">On the Settings menu, click Options, click the Backup tab, click "Incremental: backup of selected files that have changed since the last full backup," and then click OK.</li> </ol><span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">Advantages:</span><ul style="margin:16px 0px 16px 40px;padding:0px;color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <li style="margin:0px;padding:0px">Backup time is faster than full backups.</li><li style="margin:0px;padding:0px">Incremental backups require less disk, tape, or network drive space.</li><li style="margin:0px;padding:0px"> You can keep several versions of the same files on different backup sets.</li></ul><span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">Disadvantages:</span><ul style="margin:16px 0px 16px 40px;padding:0px;color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <li style="margin:0px;padding:0px">In order to restore all the files, you must have all of the incremental backups available.</li><li style="margin:0px;padding:0px">It may take longer to restore a specific file since you must search more than one backup set to find the latest version of a file.</li> </ul><h3 id="tocHeadRef" style="margin:15px 0px;padding:0px;font-size:20px;font-weight:lighter;color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif">Differential Backup (Not Supported in Backup)</h3> <span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">A differential backup provides a backup of files that have changed since a full backup was performed. A differential backup typically saves only the files that are different or new since the last full backup, but this can vary in different backup programs. Together, a full backup and a differential backup include all the files on your computer, changed and unchanged. </span><br style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <br style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"><span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">Example:</span><div class="" style="margin:0px 0px 10px;padding:0px;background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <div class="" style="margin:0px;padding:0px;width:744px"><pre class="" style="padding:10px;margin-top:0px;margin-bottom:0px;width:auto;font-family:Consolas,'Courier New',Courier,monospace">Monday - Perform a full backup and save the file set. Tuesday - Perform a differential backup using the same file set. All files that have changed since the full backup are backed up in the differential backup. Wednesday - Perform a differential backup using the same file set. All the files that have changed since Monday's full backup are backed up. </pre></div></div><span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">Advantages:</span><ul style="margin:16px 0px 16px 40px;padding:0px;color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <li style="margin:0px;padding:0px">Differential backups require even less disk, tape, or network drive space than incremental backups.</li><li style="margin:0px;padding:0px">Backup time is faster than full or incremental backups.</li> </ul><span style="color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px">Disadvantages:</span><ul style="margin:16px 0px 16px 40px;padding:0px;color:rgb(51,51,51);font-family:'Segoe UI',Arial,Verdana,Tahoma,sans-serif;font-size:13px"> <li style="margin:0px;padding:0px">Restoring all your files may take considerably longer since you may have to restore both the last differential and full backup.</li><li style="margin:0px;padding:0px">Restoring an individual file may take longer since you have to locate the file on either the differential or full backup.</li> </ul><div><font color="#333333" face="Segoe UI, Arial, Verdana, Tahoma, sans-serif"><br></font></div><div><a href="http://support.microsoft.com/kb/136621?wa=wsignin1.0">http://support.microsoft.com/kb/136621?wa=wsignin1.0</a><font color="#333333" face="Segoe UI, Arial, Verdana, Tahoma, sans-serif"><br> </font></div></div> Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com0tag:blogger.com,1999:blog-3725694433739259286.post-53503826045378270292013-06-19T23:18:00.001+05:302013-06-19T23:18:44.140+05:30How to clear old unused distribution lists from Exchange 2010/2007 programatically<div dir="ltr"><b><span style="color:#1f497d">Source :</span></b> <a href="http://ivan.dretvic.com/2011/10/how-to-clear-old-unused-distribution-lists-from-exchange-2010-programatically/" target="_blank"> http://ivan.dretvic.com/2011/10/how-to-clear-old-unused-distribution-lists-from-exchange-2010-programatically/</a><br><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div lang="EN-IN" link="blue" vlink="purple"> <p class="MsoNormal"><u></u></p> <p class="MsoNormal"><u></u> <u></u></p> <p class="MsoNormal"><b><span style="color:#1f497d">We have used below CMDs to provide the DL Status report for IMG Client.<u></u><u></u></span></b></p> <p class="MsoNormal"><u></u> <u></u></p> <div style="border:none;border-bottom:solid windowtext 1.0pt;padding:0cm 0cm 1.0pt 0cm"> <p class="MsoNormal" style="border:none;padding:0cm">Get-DistributionGroup -ResultSize unlimited | Select-Object PrimarySMTPAddress | Sort-Object PrimarySMTPAddress | Export-CSV DL-ALL.csv –notype<u></u><u></u></p> <p class="MsoNormal" style="border:none;padding:0cm"><u></u> <u></u></p> </div> <p class="MsoNormal"><u></u> <u></u></p> <div style="border:none;border-bottom:solid windowtext 1.0pt;padding:0cm 0cm 1.0pt 0cm"> <p class="MsoNormal" style="border:none;padding:0cm">Get-TransportServer | Get-MessageTrackingLog -EventId Expand -ResultSize Unlimited | Sort-Object RelatedRecipientAddress | Group-Object RelatedRecipientAddress | Sort-Object Name | Select-Object @{label="PrimarySmtpAddress";expression={$_.Name}}, Count | Export-CSV DL-Active.csv –notype<u></u><u></u></p> <p class="MsoNormal" style="border:none;padding:0cm"><u></u> <u></u></p> </div> <p class="MsoNormal"><u></u> <u></u></p> <p class="MsoNormal"><u></u> <u></u></p> <p class="MsoNormal">$file1 = Import-CSV -Path "DL-ALL.csv" <u></u><u></u></p> <p class="MsoNormal">$file2 = Import-CSV -Path "DL-Active.csv" <u></u><u></u></p> <div style="border:none;border-bottom:solid windowtext 1.0pt;padding:0cm 0cm 1.0pt 0cm"> <p class="MsoNormal" style="border:none;padding:0cm">Compare-Object $file1 $file2 -Property PrimarySmtpAddress -SyncWindow 500 | Sort-Object PrimarySmtpAddress | Select-Object -Property PrimarySmtpAddress | Export-Csv DL-Inactive.csv –NoType<u></u><u></u></p> <p class="MsoNormal" style="border:none;padding:0cm"><u></u> <u></u></p> </div> <p class="MsoNormal"><u></u> <u></u></p> <p class="MsoNormal"><u></u> <u></u></p> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:18.0pt"><b><span lang="EN-US" style="font-size:12.0pt;font-family:"Tahoma","sans-serif";color:#555555">1. Configuring Exchange MessageTrackingLogs settings<u></u><u></u></span></b></p> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:16.5pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">Here are the settings i used to configure my logging on my server, named EXCH1. I decided to increase my logging from 30 days to 90 days based on my own requirements – you may need to go longer.<br> </span><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">Notes:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> <p class="MsoNormal" style="margin-right:22.5pt;margin-left:22.5pt;line-height:16.5pt"> <u></u><span lang="EN-US" style="font-size:10.0pt;font-family:Symbol;color:#333333"><span>·<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">Note this is a server specific command and you need to do it to all your transport servers<u></u><u></u></span></p> <p class="MsoNormal" style="margin-right:22.5pt;margin-left:22.5pt;line-height:16.5pt"> <u></u><span lang="EN-US" style="font-size:10.0pt;font-family:Symbol;color:#333333"><span>·<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">My 300 seat environment used 500MB per month of logs.<u></u><u></u></span></p> <p class="MsoNormal" style="margin-right:22.5pt;margin-left:22.5pt;line-height:16.5pt"> <u></u><span lang="EN-US" style="font-size:10.0pt;font-family:Symbol;color:#333333"><span>·<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">Increasing the log will not remove the original logs<u></u><u></u></span></p> <p class="MsoNormal" style="margin-right:22.5pt;margin-left:22.5pt;line-height:16.5pt"> <u></u><span lang="EN-US" style="font-size:10.0pt;font-family:Symbol;color:#333333"><span>·<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">You will have to wait 2 months after setting<u></u><u></u></span></p> <p class="MsoNormal" style="margin-right:22.5pt;margin-left:22.5pt;line-height:16.5pt"> <u></u><span lang="EN-US" style="font-size:10.0pt;font-family:Symbol;color:#333333"><span>·<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">If you C:\ drive is short on space you can relocate the log path to a different local drive<u></u><u></u></span></p> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:16.5pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">The following command gets the logging information needed from server EXCH1<u></u><u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">1</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">Get-TransportServer</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-Identity</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">EXCH1 | fl</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">*messagetracking* </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;border-top:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">2</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border-top:none;border-left:none;border-bottom:solid #cccccc 1.0pt;border-right:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">MessageTrackingLogEnabled : True </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline"> <span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"><u></u> <u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">3</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">MessageTrackingLogMaxAge : 30.00:00:00 </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;border-top:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">4</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border-top:none;border-left:none;border-bottom:solid #cccccc 1.0pt;border-right:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">MessageTrackingLogMaxDirectorySize : 1000 MB (1,048,576,000 bytes) </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline"> <span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"><u></u> <u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">5</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">MessageTrackingLogMaxFileSize : 10 MB (10,485,760 bytes) </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;border-top:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">6</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border-top:none;border-left:none;border-bottom:solid #cccccc 1.0pt;border-right:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">MessageTrackingLogPath : C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline"> <span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"><u></u> <u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">7</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">MessageTrackingLogSubjectLoggingEnabled : True</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:16.5pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">The following command sets the Log Directory size to 3GB<u></u><u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">1</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">Set-TransportServer</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-Identity</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">EXCH1 -MessageTrackingLogMaxDirectorySize</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">3000MB</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:16.5pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">The following command sets the Max Age of logs from 30 days to 90 days<u></u><u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">1</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">Set-TransportServer</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-Identity</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">EXCH1 -MessageTrackingLogMaxAge</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">90.00:00:00</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:16.5pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">The following command gets the updated logging information needed from server EXCH1<u></u><u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">1</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">Get-TransportServer</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-Identity</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">EXCH1 | fl</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">*messagetracking* </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;border-top:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">2</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border-top:none;border-left:none;border-bottom:solid #cccccc 1.0pt;border-right:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">MessageTrackingLogEnabled : True </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline"> <span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"><u></u> <u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">3</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">MessageTrackingLogMaxAge : 90.00:00:00 </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;border-top:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">4</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border-top:none;border-left:none;border-bottom:solid #cccccc 1.0pt;border-right:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">MessageTrackingLogMaxDirectorySize : 2.93 GB (3,145,728,000 bytes) </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline"> <span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"><u></u> <u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">5</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">MessageTrackingLogMaxFileSize : 10 MB (10,485,760 bytes) </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;border-top:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">6</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border-top:none;border-left:none;border-bottom:solid #cccccc 1.0pt;border-right:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">MessageTrackingLogPath : C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline"> <span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"><u></u> <u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">7</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">MessageTrackingLogSubjectLoggingEnabled : True</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:18.0pt"><b><span lang="EN-US" style="font-size:12.0pt;font-family:"Tahoma","sans-serif";color:#555555">2. Export list of ALL distribution lists<u></u><u></u></span></b></p> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:16.5pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">To export ALL DL's from your environment run the below command. This command will export the primary SMTP address from all DL's and sort them alphabetically, and put them in a CSV file.<u></u><u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">1</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">Get-DistributionGroup</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">| Select-Object</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">PrimarySMTPAddress | Sort-Object</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">PrimarySMTPAddress | Export-CSV</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">DL-ALL.csv -notype</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:18.0pt"><b><span lang="EN-US" style="font-size:12.0pt;font-family:"Tahoma","sans-serif";color:#555555">3. Export list of ALL active distribution lists based off Exchange Tracking Logs<u></u><u></u></span></b></p> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:16.5pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">To export all active DL's from your server we need to look into the transport logs. We first fetch all event logs relating to the expansion of DL's, then we sort them by RelatedRecipietAddress. Now that they are sorted we group them by RelatedRecipientAddress. From here we sort it alphabetically by the Name column, rename the Name column to PrimarySmtpAddress (so that it matches the column name of the DL-ALL.CSV file, then export the renamed Name column and the Count column to a CSV. Below is a command to do this:<u></u><u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">1</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">Get-MessageTrackingLog</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-Server</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">EXCH1 -EventId</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">Expand -ResultSize</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">Unlimited | Sort-Object</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">RelatedRecipientAddress | Group-Object</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">RelatedRecipientAddress | Sort-Object</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">Name | Select-Object</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">@{label="PrimarySmtpAddress";expression={$_.Name}}, Count | Export-CSV</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">DL-Active.csv -notype</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:16.5pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">Note: The count column simply displays how many emails were found being sent to the DL. You can sort that to tell you the most popular/least popular ones in your environment.<u></u><u></u></span></p> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:18.0pt"><b><span lang="EN-US" style="font-size:12.0pt;font-family:"Tahoma","sans-serif";color:#555555">4. Compare the results and output the inactive DL's<u></u><u></u></span></b></p> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:16.5pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">So initially I compared the output using Excel and VLookups (Yuk – I know) and then I remembered we can do soo many things in PowerShell! Well here I import two CSV's that we generated previously, compare the two files and output the difference to a new file called DL-Inactive.csv.<u></u><u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">1</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$file1</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">= Import-CSV</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-Path</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">"DL-ALL.csv"</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;border-top:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">2</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border-top:none;border-left:none;border-bottom:solid #cccccc 1.0pt;border-right:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$file2</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">= Import-CSV</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-Path</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">"DL-Active.csv"</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline"> <span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"><u></u> <u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">3</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">Compare-Object</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$file1</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$file2</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-Property</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">PrimarySmtpAddress -SyncWindow</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">500 | Sort-Object</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">PrimarySmtpAddress | Select-Object</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-Property</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">PrimarySmtpAddress | Export-Csv</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">DL-Inactive.csv -NoType</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:18.0pt"><b><span lang="EN-US" style="font-size:12.0pt;font-family:"Tahoma","sans-serif";color:#555555">5. Hide all unused DL's from the Global Address List<u></u><u></u></span></b></p> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:16.5pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">So now you have a long list of distribution groups and you have confirmed with the business that all those DL's are no longer used. Now you simply run the following command and it will mark all those DL's as hidden. Immediately you have a sense of relief when this is done – you are truly on the path of cleaning up your Exchange environment!<u></u><u></u></span></p> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:16.5pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">The below scipt imports your now cleaned and checked DL-Inactive.csv file. From here we get each line, add a note saying it is now hidden (with a date) and hide it from the GAL using Set-DistributionGroup cmdlet.<u></u><u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">1</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$a</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">= Get-Date</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;border-top:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">2</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border-top:none;border-left:none;border-bottom:solid #cccccc 1.0pt;border-right:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$notes</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">= "$a - Hidden from address list due to inactive use."</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline"> <span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"><u></u> <u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">3</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$inactiveDL</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">= Import-CSV</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-Path</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">"DL-Inactive2.csv"</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">| foreach-object</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;border-top:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">4</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border-top:none;border-left:none;border-bottom:solid #cccccc 1.0pt;border-right:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">{ </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline"> <span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"><u></u> <u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">5</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">Set-Group</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-identity</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$_.PrimarySmtpAddress -notes</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$notes</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;border-top:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">6</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border-top:none;border-left:none;border-bottom:solid #cccccc 1.0pt;border-right:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">Set-DistributionGroup</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-identity</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$_.PrimarySmtpAddress -HiddenFromAddressListsEnabled</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$true</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline"> <span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"><u></u> <u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">7</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">}</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:18.0pt"><b><span lang="EN-US" style="font-size:12.0pt;font-family:"Tahoma","sans-serif";color:#555555">6. Actually delete these Distribution Groups<u></u><u></u></span></b></p> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:16.5pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">So time has passed and there are no HelpDesk calls asking for some missing DL's. The cloud has settled and you are prepared to delete the DL's. Well before you go and delete anything you have to remember that these groups (if they are security groups) could be used elsewhere. So because of this, all we are going to do is disable the mail capabilities from that group, and then add a note in their notes field that this was done and when. </span><u><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#993300">I recommend using extreme caution!</span></u><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:16.5pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">Below is the code:<u></u><u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">1</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$a</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">= Get-Date</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;border-top:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">2</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border-top:none;border-left:none;border-bottom:solid #cccccc 1.0pt;border-right:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$notes</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">= "$a - No longer Mail Enabled due to inactive use."</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline"> <span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"><u></u> <u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">3</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$inactiveDL</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">= Import-CSV</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-Path</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">"DL-Inactive2.csv"</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">| foreach-object</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;border-top:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">4</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border-top:none;border-left:none;border-bottom:solid #cccccc 1.0pt;border-right:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">{ </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline"> <span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"><u></u> <u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">5</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">Set-Group</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-identity</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$_.PrimarySmtpAddress -notes</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$notes</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;border-top:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">6</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border-top:none;border-left:none;border-bottom:solid #cccccc 1.0pt;border-right:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">Disable-DistributionGroup</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">-identity</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$_.PrimarySmtpAddress -Confirm</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">$false</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline"> <span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"><u></u> <u></u></span></p> <table border="1" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse;border:none"> <tbody> <tr> <td valign="top" style="border:solid #cccccc 1.0pt;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">7</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> <td valign="top" style="border:solid #cccccc 1.0pt;border-left:none;padding:2.25pt 7.5pt 2.25pt 7.5pt"> <p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"> <span style="font-size:10.0pt;font-family:"Courier New";color:#dddddd;background:#333333">}</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#333333"><u></u><u></u></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal" style="margin-bottom:16.5pt;line-height:16.5pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#333333">There you have it. You are now left with a clean list of distribution lists that can be run periodically to determine if more cleaning is required. Your users will love it because all you are left with is up-to-date distribution lists that are current and up to date.<br> Last point – i have not converted this into one PS script yet, and do all the steps individually. When I do merge it all into the one, i will post it up here.</span></p></div></div></div> </div><br></div> Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com0tag:blogger.com,1999:blog-3725694433739259286.post-42480867590900348162013-06-19T23:17:00.001+05:302013-06-19T23:17:37.653+05:30Comparing public folder item counts<div dir="ltr"><span style="color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">A question that is often asked of support in regard to legacy Public Folders is whether they are replicating and how much progress they are making. The most common scenario for asking this question arises when the administrator is adding a new Public Folder database to the organization and replicating a large amount of data to it. What commonly happens is that the administrator calls support and says "The database on the old server is 300GB, but the new database is only 150GB! How can I tell what still needs to be replicated? Is it still progressing??" The administrator can raise diagnostic logging for public folders, but reading the events to see what folders are replicating is tedious. Most administrators want a more detailed way of estimating the progress of replication than comparing file sizes. They also want to avoid checking all the individual replication events.</span><br> <div class="gmail_quote"><div dir="ltr"> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">There are a number of ways to monitor the progress of the replication so that one can make a guess as to how long a particular environment will take to complete an operation. In this blog I am going to provide a detailed example of one approach to estimating the progress of replication by comparing item counts between different public folder stores.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">To get the item counts in an Exchange 2003 Public folder database you can use PFDAVAdmin. The process is outlined in <a href="http://blogs.technet.com/b/exchange/archive/2006/02/01/418566.aspx" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank">this previous EHLO blog post</a>. For what we are doing below you will need the displayname, folderpath and the total number of items in the folder; the rest of the fields are not necessary.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">To get the item counts on an Exchange 2007 Server you use (remember there is only one Pub per server):</p> <p style="background-color:rgb(204,204,204);padding:0.3em;font-size:12px;margin-top:12px;color:rgb(51,51,51);font-family:Consolas,'Courier New',Courier,monospace!important">Get-publicfolderstatistics -server <servername> | export-csv c:\file1.txt</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">To get the item counts on an Exchange 2010 server you use:</p> <p style="background-color:rgb(204,204,204);padding:0.3em;font-size:12px;margin-top:12px;color:rgb(51,51,51);font-family:Consolas,'Courier New',Courier,monospace!important">Get-publicfolderstatistics -server <servername> -resultsize unlimited | export-csv c:\file1.txt</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">There are some very important caveats to this whole procedure. The things you need to watch out for are:</p> <ul style="color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><li>We are only checking item counts. If you delete 10 items and add 10 items between executions of the statistics data gathering this type of query will not reveal whether they have replicated. Therefore having the same number on both sides is not an assurance that the folders are in sync. </li> <li>If you are comparing folders that contain recurring meetings the item counts can be different on Exchange 2007 and older because of the way WebDAV interacts with those items</li><li>I have seen many administrators try to compare the size of one Public Folder database to the size of another. Such an approach to checking on replication does not take into account space for deleted items, overhead and unused space. Checking item counts is more reliable than simply comparing item sizes</li> <li>The two databases might be at very different stages of processing replication messages. It is unlikely that both pubs will present the same numbers of items if the folders are continuously active. Even if the folders are seeing relatively low activity levels it is not uncommon for the item count to be off by one or two items because the replication cycle (which defaults to every 15 minutes) simply hasn't gotten to the latest post</li> <li>If you really want to know if two replicas are in sync try to remove one. If Exchange lets you remove the instance then you know Exchange believes the folders are in sync. If Exchange cannot confirm the folders are in sync it will keep the instance until it can complete the backfill from it. In most cases the administrators I have spoken with are not in a position where they can use this approach.</li> </ul><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">For the actual comparison you can use any number of products. For this blog I have chosen Microsoft Access for demonstrating the process of comparing the CSV files from the different servers. To keep things simple I am going to use the Jet database engine packaged with Access. There are some limitations to my approach:</p> <ul style="color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><li>Jet has a maximum file size of 2GB so if your public folder infrastructure is particularly large (i.e. your CSV files are over 500MB) you may have to switch to using Microsoft SQL.</li> <li>I am not going to compare public folders with a Folder path greater than 254 characters because the Jet database engine that ships with Access cannot join memo fields in a query. Working around the join limitation by splitting the path across multiple text fields is beyond the scope of this blog.</li> <li>I am going to look at folders that exist in both CSV files. If the instance has not been created and its data exported into the CSV file the folder will not be listed.</li></ul><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> An outline of the process is:</p><ul style="color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><li>Export the item counts from the two servers you wish to compare</li> <li>Import the resulting text files</li><li>Clean up the data for the final query</li><li>Run a query to list the item counts for all folders that are in Both files and the difference in the item counts between the originally imported files</li> </ul><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">Assumptions for the steps below:</p><ul style="color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> <li>You have exported the public folder statistics with the PowerShell commands presented above</li><li>You have fields named FolderPath, ItemCount and Name in the CSV file</li></ul><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> If your file is different than expected you will have to modify the steps as you go along</p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> Here are the steps for conducting the comparison:</p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">1. Create a new blank Microsoft Access database in a location that has more than double the size of your CSV files available as free space.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">2. By default export-csv places a line at the top of the text file. This line will interfere with the import so we need to remove it. Open each CSV file in notepad (this can take a while for larger files) and remove the line highlighted below. In this example the line starting with "AdminDisplayName" would become the topmost line of the file. Once the top line is deleted close and save the file.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/2248.image_5F00_79323828.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/5481.image_5F00_thumb_5F00_5B53B427.png" width="498" height="75" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 1</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">3. Import the CSV file to a new table:</p> <ul style="color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><li>Click on the External Data tab as highlighted in Figure 2</li><li>Browse to the CSV file and select it (or type in its path and name directly)</li> <li>Make sure the "Import the source data into a new table in the current database' option is selected</li><li>Click OK</li></ul><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> <a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/8055.image_5F00_01B59773.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/5023.image_5F00_thumb_5F00_667FCF22.png" width="563" height="504" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 2</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">4. In the wizard that starts specify the file is delimited as shown and then click Next.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/1134.image_5F00_5A7DDEEE.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/4300.image_5F00_thumb_5F00_07FEFEB2.png" width="527" height="197" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 3</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">5. Tell the wizard that the text qualifier is the double quote (character 34 in ASCII), the delimiter is the comma and that the "First Row Contains Field Names" as shown in Figure 4.</p> <p style="background-color:rgb(240,240,240);padding:0.5em;margin:12px 0px 1em;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> Note: It is possible that you will receive a warning when you click "First Row Contains Field Names". If any of the field names violate the rules for a field name Access will display a warning. Don't panic. Access will replace the non-conforming names with ones it considers appropriate (typically Field1, Field2, etc.). You can change the names if you wish on the Advanced screen.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3666.image_5F00_3C3327F8.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/7875.image_5F00_thumb_5F00_576B80F9.png" width="579" height="246" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 4</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">6. Switch to Advanced view (click the Advanced button highlighted in Figure 4) so that we can change the data type of the FolderPath field. In Access 2010 and older the data type needs to be changed from Text to Memo. In Access 2013 it needs to be changed from Short Text to Long Text. While we are in this window you have the option to exclude columns that are not needed by placing a checkmark in the box from the skip column. In this blog we are only going to use the FolderPath, name and the item count. You can also exclude fields earlier in the process by specifying what fields will be exported when you do the export-csv. The following screenshots show the Advanced properties window.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/4657.image_5F00_6E998C28.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/4276.image_5F00_thumb_5F00_7BFF9F2E.png" width="465" height="609" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 5a: Access 2010 and older</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3034.image_5F00_2261827A.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/0486.image_5F00_thumb_5F00_5DB4E838.png" width="471" height="472" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 5b: Access 2013</em></p><p style="background-color:rgb(240,240,240);padding:0.5em;margin:12px 0px 1em;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> Note: If you think you will be doing this frequently you can use the Save As button to save your settings. The settings will be saved inside the Access database and can then be selected during future imports by clicking on the Specs button.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">7. Click OK on the Advanced dialog and then click Finish in the wizard.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">8. When prompted to save the Import steps click Close. If you think you will be repeating this process in the future feel free to explore saving the import steps.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">9. Access will import the data into a table. By default the table will have the same name as the source CSV file. The files used in creating this blog were called 2007PF_120301 and 2010 PF_120301. If there are any import errors they will be saved in a separate table. Take a moment to examine what they are. The most common is that a field got truncated. If that field is the folderpath it will affect the comparisons later. If there are other problems you will have to troubleshoot what is wrong with the highlighted lines (typically there should be no import errors as long as the FolderPath is set as a Memo field).</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">10. Go back to Step 2 to import the second file that will be used in the comparison. </p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">11. Now a query must be run to determine if any folderpath exceeds 255 characters. Fields longer than 255 characters cannot be used for a join in an Access query. If we have values that exceed 255 characters in this field we will need to exclude them from the comparison. Additional work to split a long path across multiple fields can be done, but that is being left as an exercise for any Access savvy readers. </p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">12. To get started select the options highlighted in Yellow in Figure 6:</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/7840.image_5F00_000C7DB2.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/4532.image_5F00_thumb_5F00_5F853DFF.png" width="320" height="138" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 6</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">13. Highlight the table where we want to check the length of the folderpath field as shown in Figure 7. Once you have selected the table click Add and then Close:</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/2084.image_5F00_2FCA2631.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3404.image_5F00_thumb_5F00_0F42E67F.png" width="489" height="330" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 7</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">14. Switch to SQL view as shown in Figure 8:</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/8713.image_5F00_5F87CEB0.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/5670.image_5F00_thumb_5F00_1EE58241.png" width="419" height="339" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 8</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">15. Replace the default select statement with one that looks like this (please make sure you substitute your own table name for the one that I have <b>Bolded</b> in the example):</p> <p style="background-color:rgb(204,204,204);padding:0.3em;font-size:12px;margin-top:12px;color:rgb(51,51,51);font-family:Consolas,'Courier New',Courier,monospace!important">SELECT Len([FolderPath]) AS Expr1, [<b>2007PF_120301</b>].FolderPath <br> FROM <b>2007PF_120301 <br></b>WHERE (((Len([FolderPath]))>254));</p><p style="background-color:rgb(240,240,240);padding:0.5em;margin:12px 0px 1em;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> Note: Be sure the semi-colon is the last character in the statement.</p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> 16. Run the query using the red "!" as shown in Figure 9: </p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> <a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/8637.image_5F00_7334B844.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/5100.image_5F00_thumb_5F00_158C4DBE.png" width="254" height="204" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 9</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3060.image_5F00_37E3E337.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/5444.image_5F00_thumb_5F00_10A99A02.png" width="157" height="104" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 10</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">17. If the result is a single empty row (as shown in Figure 10) then skip down to step 19. If the result is at least one row then go back to SQL view (as shown in Figure 8) and change the statement to look like this one (as before please make sure 2007PF_120301 is replaced with the table name actually being used in your database):</p> <p style="background-color:rgb(204,204,204);padding:0.3em;font-size:12px;margin-top:12px;color:rgb(51,51,51);font-family:Consolas,'Courier New',Courier,monospace!important">SELECT [2007PF_120301].FolderPath, [2007PF_120301].ItemCount, <br> [2007PF_120301].Name, [2007PF_120301].Identity INTO 2007PF_120301_trimmed <br>FROM 2007PF_120301 <br>WHERE (((Len([FolderPath]))<255));</p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> 18. You will get a prompt like the one in Figure 11 when you run the query. Select Yes:</p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> <a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/8182.image_5F00_2C4E25F8.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3733.image_5F00_thumb_5F00_20B868B9.png" width="462" height="136" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 11</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">19. After it is done repeat steps 11-18 for the other CSV file that was imported to be part of the comparison. If you have done steps 11-18 for both files you will be comparing then advance to step 20.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">20. Originally the FolderPath was imported as a memo field (Long Text if using Access 2013). However we cannot join memo fields in a query. We need to convert them to a text field with a length of 255. </p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">If you got a result greater than zero rows in step 16 this step and the subsequent steps will all be carried out on the table specified in the INTO clause of the SQL statement (in this blog that table is named 2007PF_120301_trimmed). </p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">If you were able to skip steps 17 and 18 this step and the subsequent steps will be carried out on the table you imported (2007PF_120301 in this example).</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">Open the table in Design view by right-clicking on it and selecting Design View as shown in Figure 12. If you select the wrong tables for the subsequent steps you will get a lot of unwanted duplicates in your final comparison output.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3240.image_5F00_1BD5B4FD.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/6560.image_5F00_thumb_5F00_4956D4C0.png" width="334" height="256" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 12</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">21. Change the folderpath from Memo to Text as shown in Figure 13. If you are using Access 2013 change it from Long Text to Short Text.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/4747.image_5F00_76D7F483.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/6013.image_5F00_thumb_5F00_71F540C7.png" width="363" height="120" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure13</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">22. With the FolderPath field highlighted look to the lower part of the Design window where the properties of the currently selected field are displayed. Change the field size of folderpath to 255 characters as shown in Figure 14.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/5430.image_5F00_067A9046.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/2318.image_5F00_thumb_5F00_7431C983.png" width="305" height="76" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 14</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">23. Save the table and close its design view. You will be prompted as shown in Figure 15. Don't panic. All the folderpaths should be shorter than the 255 characters specified in the properties of the table. The dialog is just a standard warning from Access. No data should be truncated (the earlier queries should have seen to that). Say Yes and repeat steps 20-23 for the other table being used in this comparison. If you make a mistake here remember that you will still have your original CSV files and can always fix the mistake by removing the tables and redoing the import.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/4212.image_5F00_4CF7804E.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3731.image_5F00_thumb_5F00_23EF7203.png" width="630" height="125" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 15</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">24. We have been on a bit of a journey to make sure we prepared the tables. Now for the comparison. Create a new query (as shown in Figure 6) and highlight both tables that have had the FolderPath shortened to 255 characters as shown in Figure 16. Once they are highlight click Add and then close.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/5226.image_5F00_5F42D7C1.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/7317.image_5F00_thumb_5F00_7A0EFDCD.png" width="445" height="323" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 16</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">25. Drag Folderpath from the table that is the source of your replication to Folderpath on the other database. The result will look like Figure 17.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/1055.image_5F00_6A02BFC7.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/8233.image_5F00_thumb_5F00_307FAFD0.png" width="519" height="285" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 17</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">26. In the top half of the Query Design window we have the tables with their fields listed. In the bottom half we have the query grid. You can make fields appear in the grid in 3 ways:</p> <ul style="color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><li>Switch the SQL view and add them to the Select statement</li><li>Double-click the field in the top half of the window</li> <li>Drag the field from the top half of the window to the grid</li><li>Click in the Field line of the grid and a drop down will appear that you can use to select the fields</li><li>Type the field name you want on the Field in the grid</li> </ul><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">For this step we need to add:</p><ul style="color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> <li>One copy of the folderpath field from one table (doesn't matter which one)</li><li>The ItemCount field from each table</li></ul><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> 27. Go to an empty column in the grid. We need to enter the text that will tells us the difference between the two item counts. Type the following text into the column (be sure to use the table names from your own database and not my example): </p> <p style="background-color:rgb(204,204,204);padding:0.3em;font-size:12px;margin-top:12px;color:rgb(51,51,51);font-family:Consolas,'Courier New',Courier,monospace!important">Expr1: Abs([2007PF_120301_trimmed].[itemcount]-[2010pf_120301_trimmed].[itemcount])</p> <p style="background-color:rgb(240,240,240);padding:0.5em;margin:12px 0px 1em;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> Note: After steps 25-27 the final result should look like Figure 18. The equivalent SQL looks like this:</p><p style="background-color:rgb(204,204,204);padding:0.3em;font-size:12px;margin-top:12px;color:rgb(51,51,51);font-family:Consolas,'Courier New',Courier,monospace!important"> SELECT [2007PF_120301_trimmed].FolderPath, [2007PF_120301_trimmed].ItemCount, [2010PF_120301_trimmed].ItemCount, Abs([2007PF_120301_TRIMMED].[ItemCount]-[2010PF_120301_TRIMMED].[ItemCount]) AS Expr1 <br>FROM 2007PF_120301_trimmed INNER JOIN 2010PF_120301_trimmed ON [2007PF_120301_trimmed].FolderPath = [2010PF_120301_trimmed].FolderPath;</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/6278.image_5F00_39DB7504.png" style="outline:none;color:rgb(0,102,204);text-decoration:none" target="_blank"><img title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/6523.image_5F00_thumb_5F00_34F8C148.png" width="708" height="95" style="overflow:hidden;max-width:100%;border-width:0px;background-image:none;padding-top:0px;padding-left:0px;display:inline;padding-right:0px"></a> <br> <em>Figure 18</em></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">28. Run the query using the red "!" shown in Figure 9. The results will show you all the folders that exist in BOTH public folder databases, the itemscount in each database and the difference between them. I like the difference reported as a positive number, but you might prefer to remove the absolute value function.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">There is more that can be done with this. You can use Access to run a Find Unmatched query to find all items from one table that are not in the other table (thus locating folders that have an instance in one database, but not the other). You can experiment with different Join types in the query and you can deal with Folderpaths longer than a single text field can accommodate. These and any other additional functionality you desire are left as an exercise for the reader to tackle. I hope this provides you with a process that can be used to compare the item counts between two Public Folder stores (just remember the caveats at the top of the article).</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px">Thanks To Bill Long for reviewing my caveats and Oscar Goco for reviewing my steps with Access.</p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><span style="font-size:1.2em;padding-bottom:0.1em;padding-top:0.5em!important;color:rgb(226,103,14)!important">Chris Pollitt</span></p> <p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><span style="font-size:1.2em;padding-bottom:0.1em;padding-top:0.5em!important;color:rgb(226,103,14)!important"><br> </span></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"><span style="font-size:1.2em;padding-bottom:0.1em;padding-top:0.5em!important;color:rgb(226,103,14)!important"><a href="http://blogs.technet.com/b/exchange/archive/2013/05/28/comparing-public-folder-item-counts.aspx" target="_blank">http://blogs.technet.com/b/exchange/archive/2013/05/28/comparing-public-folder-item-counts.aspx</a><span class="HOEnZb"><font color="#888888"><br> </font></span></span></p><span class="HOEnZb"><font color="#888888"><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> <br></p><p style="margin-top:12px;color:rgb(51,51,51);font-family:'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.162500381469727px"> <br></p><div><br></div>-- <br>Thanks & Regards<br>G.BalaKrishna<br>Contact : 9962552505<br> : 9841710719 </font></span></div> </div><br></div> Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com0tag:blogger.com,1999:blog-3725694433739259286.post-63962128754577409302013-06-19T23:14:00.001+05:302013-06-19T23:14:11.635+05:30New feature enables Outlook 2007/2010 to use DNS Service Location (SRV) records<div dir="ltr"><br>This article describes a new feature in Microsoft Office Outlook 2007. This new feature enables Outlook 2007 to use DNS Service Location (SRV) records to locate the Exchange Autodiscover service. <br><div class="gmail_quote"> <div dir="ltr"> <div><br></div><div>This feature is also available in Outlook 2010.</div><div>Back to the top | Give Feedback</div><div>MORE INFORMATION</div><div>Update Information</div><div>A supported feature that modifies the default behavior of the product is now available from Microsoft, but it is only intended to modify the behavior that this article describes. Apply it only to systems that specifically require it. This feature may receive additional testing. Therefore, if you are not severely affected by the lack of this feature, we recommend that you wait for the next Outlook 2007 service pack that contains this feature.</div> <div><br></div><div>To obtain this feature immediately, download the feature by following the instructions later in this article or contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:</div> <div><a href="http://support.microsoft.com/contactus/?ws=support" target="_blank">http://support.microsoft.com/contactus/?ws=support</a></div><div><br></div><div>This feature is available as part of the following update rollup for Outlook 2007:</div> <div>939184 Description of the update rollup for Outlook 2007: June 27, 2007</div><div>Background</div><div>When Outlook 2007 is not domain-joined, you have to use a predefined URL method or an HTTP redirect method in order to locate the Autodiscover service. The following list contains two predefined URL methods and one HTTP redirect method:</div> <div>https://<smtpdomain>/Autodiscover/Autodiscover.xml</div><div><a href="https://autodiscover" target="_blank">https://autodiscover</a>.<smtpdomain>/Autodiscover/Autodiscover.xml</div><div><a href="http://autodiscover" target="_blank">http://autodiscover</a>.<smtpdomain>/Autodiscover/Autodiscover.xml</div> <div>Note The predefined URL method requires that you have a valid SSL certificate for the URL that you are using. This method can be difficult to implement because you generally use one DNS name for the Outlook Anywhere feature for Microsoft Exchange Server 2007 and a different DNS name for Microsoft Office Outlook Web Access.</div> <div><br></div><div>Note The HTTP redirect method can be difficult to implement because it requires the following in order to work correctly:</div><div>An additional Web site in IIS</div><div>Two Public IP addresses</div> <div><br></div><div><br></div><div>By using the software update that is described in this article, Outlook 2007 will perform an additional check for a DNS SRV record in order to locate the Autodiscover service. This additional check does not require complex configuration or a valid certificate for the Autodiscover service.</div> <div>How to use the new DNS SRV lookup method to locate the Exchange 2007 Autodiscover service</div><div>To use the new DNS SRV lookup method in order to locate the Exchange 2007 Autodiscover service, follow these steps.</div> <div><br></div><div>Note You must create the Autodiscover SRV record in the external DNS zone that matches the right side of your user's SMTP addresses. For example, if a user's primary SMTP address is <a href="mailto:user@contoso.com" target="_blank">user@contoso.com</a>, the record must be created in the <a href="http://contoso.com" target="_blank">contoso.com</a> external DNS zone. If you have multiple primary SMTP address domains in your organization, you must create an Autodiscover SRV record in each zone.</div> <div>1.<span style="white-space:pre-wrap"> </span>In your external DNS zone, remove any HOST (A) or CNAME records for the Autodiscover service.</div><div>2.<span style="white-space:pre-wrap"> </span>Use the following parameters to create a new SRV record:</div> <div><br></div><div>Service: _autodiscover</div><div>Protocol: _tcp</div><div>Port Number: 443</div><div>Host: <a href="http://mail.contoso.com" target="_blank">mail.contoso.com</a></div><div><br></div><div><br></div><div> Note For more information about how to create this record, see the "About SRV records" section.</div> <div>Note In this example, <a href="http://mail.contoso.com" target="_blank">mail.contoso.com</a> is a name for which your certificate is valid. Usually, this is the same DNS name that you use for Outlook Anywhere and for Outlook Web Access.</div> <div><br></div><div>In this example, the Autodiscover service does the following when the client tries to contact the Autodiscover service:</div><div>1. Autodiscover posts to <a href="https://contoso.com/Autodiscover/Autodiscover.xml" target="_blank">https://contoso.com/Autodiscover/Autodiscover.xml</a>. This fails.</div> <div>2. Autodiscover posts to <a href="https://autodiscover.contoso.com/Autodiscover/Autodiscover.xml" target="_blank">https://autodiscover.contoso.com/Autodiscover/Autodiscover.xml</a>. This fails.</div><div>3. Autodiscover performs the following redirect check:</div> <div>GET <a href="http://autodiscover.contoso.com/Autodiscover/Autodiscover.xml" target="_blank">http://autodiscover.contoso.com/Autodiscover/Autodiscover.xml</a></div><div>This fails.</div><div>4. Autodiscover uses DNS SRV lookup for _autodiscover._<a href="http://tcp.contoso.com" target="_blank">tcp.contoso.com</a>, and then "<a href="http://mail.contoso.com" target="_blank">mail.contoso.com</a>" is returned.</div> <div>5. Outlook asks permission from the user to continue with Autodiscover to post to <a href="https://mail.contoso.com/autodiscover/autodiscover.xml" target="_blank">https://mail.contoso.com/autodiscover/autodiscover.xml</a>.</div> <div> 6. Autodiscover's POST request is successfully posted to <a href="https://mail.contoso.com/autodiscover/autodiscover.xml" target="_blank">https://mail.contoso.com/autodiscover/autodiscover.xml</a>.</div><div>About SRV records</div> <div> If you are using Windows DNS, the steps to create an SRV Record are as follows:</div><div>1. Open the DNS Management MMC snap-in.</div><div>2. Expand Forward Lookup Zones.</div><div>3. Locate and right-click the external DNS zone, and then click Other New Records.</div> <div>4. Click Service Location (SRV).</div><div>5. Enter the parameters by using the required values.</div><div>6. Click OK.</div><div>Note Depending on your DNS solution, you may be unable to implement SRV records. Contact your DNS hosting provider or your DNS administrator for guidance.</div> <span class="HOEnZb"><font color="#888888"> <div><br></div>-- <br>Thanks & Regards<br>G.BalaKrishna<br>Contact : 9962552505<br> : 9841710719 </font></span></div> </div><br></div> Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com0tag:blogger.com,1999:blog-3725694433739259286.post-9499204943378591552013-06-19T23:01:00.001+05:302013-06-19T23:01:01.698+05:30Exchange 2007 High Availability<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr"><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> <strong><span style="color:rgb(128,128,128)"><span style="font-family:'Times New Roman'">High Availability</span></span></strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">This part includes all the information about High Availability options introduced in Exchange Server 2007.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">please, Leave your comments on this….</p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> <strong>1. What is high availability in Exchange Server 2007?</strong></p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> The basic premise of the Exchange 2007 high availability architecture is to introduce redundancy into the deployment. A failure is recovered using the remaining computing resources to support the Exchange services. As the failures are repaired, computing resources are again available to Exchange and its clients. In this context, the computing resources may be computers or storage for mailbox or other Exchange data.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>2. What are the uses of high availability features available in Exchange Server 2007?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">Microsoft Exchange Server 2007 includes built-in features that can provide quick recovery, high availability, and site resiliency for Exchange Server 2007 Mailbox servers.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>3. What are the high availability features available in Exchange Server 2007 for Mailbox server role?</strong></p> <ol style="color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><li>Local continuous replication</li><li>Cluster Continues Replication</li><li>Standby Continuous Replication</li> <li>Single Copy Cluster</li></ol><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>4. What is LCR?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">LCR is a single-server solution that uses built-in asynchronous log shipping technology to create and maintain a copy of a storage group on a second set of disks that are connected to the same server as the production storage group. LCR provides log shipping, log replay, and a quick manual switch to a secondary copy of the data.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>5. What do you know about LCR?</strong></p> <ol style="color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><li>Provides data redundancy without service redundancy·</li><li>Partition data for performance and recovery·</li> <li>Ensure sufficient disk space,</li><li>CPU and memory resources should be considered</li></ol><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> <strong>6. What is SCR?</strong></p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">SCR is a new feature introduced in Exchange 2007 SP1. As its name implies, SCR is designed for scenarios that use or enable the use of standby recovery servers. SCR extends the existing continuous replication features and enables new data availability scenarios for Exchange 2007 Mailbox servers. SCR uses the same log shipping and replay technology used by LCR and CCR to provide added deployment options and configurations. SCR can be used to replicate data from stand-alone Mailbox servers and clustered mailbox servers.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>7. What is the function of source server in SCR?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">The starting point for SCR is called the <em>source</em>, which is any storage group on any of the following:</p> <ul style="color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><li>A stand-alone Mailbox server</li><li>A clustered mailbox server in a single copy cluster (SCC)</li> <li>A clustered mailbox server in a CCR environment</li></ul><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> As with LCR and CCR, SCR-enabled storage groups cannot contain more than one database. You cannot enable SCR for a storage group that contains more than one database, and you cannot add a second or subsequent database to an SCR-enabled storage group</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">SCR Source Server holds the active copy of Mailbox database</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>8. What is the function of Target Server in SCR?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">The endpoint for SCR is called the <em>target</em>, and the target can be either of the following:</p> <ul style="color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><li>A stand-alone Mailbox server that does not have LCR enabled for any storage group</li><li>A passive node in a failover cluster where the Mailbox role is installed, but no clustered mailbox server has been installed in the cluster</li> </ul><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">An SCR target computer must have the Mailbox server role installed, even if it does not host production mailboxes. The Mailbox server role is required because it includes the Microsoft Exchange Replication Service and other components necessary for SCR functionality</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">The Target Server holds the passive copy of Mailbox database</p> <ol style="color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><li><strong>What are the conditions to have target Server?</strong></li></ol><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> The Target server may be,</p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">A stand-alone Mailbox server that does not have LCR enabled for any storage group</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">A passive node in a failover cluster where the Mailbox role is installed, but no clustered mailbox server has been installed in the cluster</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>10. Explain the functionality of SCR?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">SCR is designed for scenarios that use or enable the use of standby recovery servers. SCR extends the existing continuous replication features found in the release to manufacturing (RTM) version of Exchange Server 2007 and enables new data availability scenarios for Mailbox servers running SP1. SCR uses the same log shipping and replay technology used by local continuous replication (LCR) and cluster continuous replication (CCR) to provide added deployment options and configurations</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>11. What is CCR?</strong></p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> CCR is a clustered solution that uses built-in asynchronous log shipping technology to create and maintain a storage group copy on a second server. CCR is designed to be either a one or two datacenter solution, providing both high availability and site resilience.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>12. What is Witness File Share?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">It is a new type of Majority Node Set (MNS) quorum in Windows Server 2003. In Exchange Server 2007, cluster continuous replication (CCR) uses the MNS quorum with file share witness instead of the traditional voter node.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">This feature lets you use a file share that is external to the cluster as an additional <em>vote</em> to determine the status of the cluster in a two-node MNS quorum cluster deployment.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">The file share witness uses a file share on a computer outside the cluster to act as a witness to the activities of the two nodes that are the cluster. The witness is used by the two nodes to track which node is in control of the cluster. The note board is only required when the two nodes cannot communicate with each other</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>13. What are the advantages of CCR over LCR?</strong></p> <ul style="color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><li>Has no single point of failure.</li><li>Has no special hardware requirements</li><li>Has no shared storage requirements</li> <li>Can be deployed in one or two datacenter configurations</li><li>Can reduce full backup frequency, reduce total backed up data volume, and shorten the service level agreement (SLA) for recovery time from first failure.</li> </ul><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>14. What is SCC?</strong></p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> SCC is a clustered solution that uses a single copy of a storage group on storage that is shared between the nodes in the cluster. SCC is very similar to clustering in previous versions of Exchange Server, with some significant changes and improvements</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>15. Explain the high availability options for client Access Server Role?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">You can use Network Load Balancing or a third-party hardware-based network load-balancing device for Client Access server high availability. For more information about Network Load Balancing</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>16. Explain the high availability options for Hub Transport Server Role?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">You can deploy multiple Hub Transport servers for internal transport high availability. Resiliency has been designed into the Hub Transport, as well as the Mail Submission Service on Mailbox servers, for deployment of multiple Hub Transport servers. In Exchange 2007 SP1, you can also use NLB for the client connectors on Hub Transport servers.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>17. Explain the high availability options for Edge Transport Server Role?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">You can deploy multiple Edge Transport servers and use multiple DNS Mail Exchanger (MX) records to load balance activity across those servers</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>18. Explain the high availability options for Unified Messaging Server Role?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">Unified Messaging deployments can be made more resilient by deploying multiple Unified Messaging servers where two or more are in a single dial plan. The VoIP gateways supported by Unified Messaging can be configured to route calls to Unified Messaging servers in a round-robin fashion. In addition these gateways can retrieve the list of servers for a dial plan from DNS. In either case, the VOIP gateways will present a call to a Unified Messaging server and if the call is not accepted, the call will be presented to another server, providing redundancy at the time the call is established.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>19. What the requirements to configure SCR?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">SCR allows an Exchange Admin to replicate a copy of Storage Group to a number of remote servers. Microsoft recommends a max of 4 target machines.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">An SCR Source can be an LCR, CCR, SCC, or Stand alone mailbox server but requires only 1 Database per Storage Group which is already a requirement for LCR and CCR.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">The target can be on the same subnet or in a remote datacenter unlike CCR which currently requires both nodes be on the same subnet</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">1. The paths must be the same for both machines<br> – If source server is c:\Server1\Data and C:\Server1\Logs then these paths must be available on the target server.</p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> 2. There is a hard coded 50 log lag between the Source and Target<br>– by default there is a 24 hour replay time which is configurable.</p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> 3. There can be only 1 database per storage group</p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> 4. The target server must have Exchange mailbox role installed, if this is a cluster it will be install as a passive node.</p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> 5. The target server must be in the same Active Directory domain</p><ol style="color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><li><strong>What are the requirements to configure LCR?</strong></li> </ol><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">LCR does not have any special storage requirements. Any type of storage that is supported by Windows Server 2003 or Windows Server 2008 can be used with LCR, including direct attached storage, serially attached SCSI, and Internet SCSI (iSCSI)</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>21. What the requirements to configure CCR?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">To setup a CCR-based cluster, the following are required</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">Software Requirements</p><ul style="color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> <li>Windows 2003 Active Directory forest with at least one domain controller raised to windows 2003 forest functional level</li><li>Two windows 2003 server R2 Enterprise Edition or windows server 2003 sp1 standard or enterprise edition</li> <li>One windows file share witness, which is recommended to be an exchange 2007 Hub transport Server in the existing Exchange organization; note the CCR-based cluster don't use a shared quorum as traditional clusters do</li> <li>A cluster Service account in the Active directory forest</li></ul><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> Hardware requirements</p><ul style="color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><li>Two NIC installed in each node, one for the public and one for the private cluster network</li> <li>Extra sets of disks or a DAS, SAN or Serial SCSI solution to hold the database and transactional log files</li></ul><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> Other Requirements</p><ul style="color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><li>Only one database per storage group</li><li>You cannot create public folder database in a CCR environment if you already have one</li> <li>Microsoft recommends the no more 30 storage groups and databases on clustered mailbox server</li><li>The cluster on which Exchange Server 2007 is installed cannot contain Exchange Server 2000/2003 or any version of MS SQL server. Running Exchange Server 2007 in a cluster with any of these other application is simply not supported</li> </ul><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>22. What the requirements to configure SCC?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">Windows 2003 Active Directory forest with at least one domain controller raised to windows 2003 forest functional level</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">Two windows 2003 server R2 Enterprise Edition or windows server 2003 sp1 standard or enterprise edition</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">At least one existing HT server, which is recommended to be an exchange 2007 Hub transport Server in the existing Exchange organization</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">Two machine with two NICS to create a Public and private network</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>23. Compare SCR with LCR and CCR?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">SCR supports multiple replication targets per storage group. LCR and CCR support only one replication target per storage group (the passive copy).</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">SCR includes a built-in delay for replay activity, and it enables an administrator to specify an additional delay. This is useful in a variety of scenarios. For example, in the event of logical corruption of an active database, the built-in and additional administrator-configured delay could be used to prevent logical corruption of an SCR target database. LCR and CCR have no such delays.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">SCR is completely managed using the Exchange Management Shell. The Exchange Management Console can be used to manage many aspects of LCR and CCR, but it cannot be used to enable or manage any aspects of SCR</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">You cannot back up an SCR target copy. LCR and CCR support backups from both the active and passive copy. SCR supports backups of the SCR source only</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>24. What is Replaylagtime and TruncationLagTime?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">Replaylagtime – Time that the Microsoft Exchange Replication Service should wait before replaying logs. Default is 24 hours and max time is 7 days.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">TruncationLagTime – Amount of time Microsoft Exchange Replication Service waits before truncating log files that have been copied to the target</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>25. What is seeding?</strong></p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> Seeding is the process whereby a database is added to a storage group copy, this can be a blank database or a copy of the database the storage group uses as the production database. When you enable the LCR on a storage group using the EMC, seeding normally takes place automatically.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>26. Will seeding happens automatically? Then why should we care about it?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">Seeding normally takes place automatically, in some situations manual seeding is required.</p> <ul style="color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><li>After you have performed an offline defragmentation of the production database belonging to the storage group for which you have enabled LCR</li> <li>When exchange detects corrupted log, which the Microsoft Exchange Replication Service cannot replay into the database copy</li><li>After a page scrubbing of a database on the active node in a CCR setup occurs, and you want to propagate these seeding</li> </ul><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>27. Explain the LCR operation?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">The database type Exchange uses is Extensible Storage Engine (ESE). ESE employs transactional log files, which means that every time a modification is made, a transactional log file is generated (instead of the change being committed directly to database). This process is to make exchange always able to recover the lost data, which is in memory by using log files.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">Each log file that is generated because of a modification in the database belonging to the active copy of the Storage is replicated from the source log folder to the target log folder associated with the passive copy of the storage group. This is not the entire truth, because each log file is first copied to an inspector log folder located beneath the target folder, where it is inspected to make sure it is correct. If it is not correct it will be re copied. Finally the file is copied to the target log folder and from there replayed into the database belonging to the passive copy of the Storage Group</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">A new Exchange Server 2007 service called the Microsoft Exchange Replication Service will be installed on any Exchange Server 2007 servers with the mailbox server role installed. These are responsible for replicating the log files to the target log folder</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>28. What is suspending in LCR? And how to achieve it?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">Suspending LCR means that all log file shipping as well as log file replaying is halted.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">Suspending LCR is a straight forward process, it is done by selected the respective Storage group in the EMC, and then clicking the Suspend Local Continuous replication in the Action pane.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>29. What is log file shipping and log file replaying?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>Log File Shipping</strong></p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> Log shipping allows you to automatically send transaction log backups from a <em>primary database</em> on a <em>primary server</em> instance to one or more<em>secondary databases</em> on separate <em>secondary server</em> instances. The transaction log backups are applied to each of the secondary databases individually. An optional third server instance, known as the <em>monitor server</em>, records the history and status of backup and restores operations and, optionally, raises alerts if these operations fail to occur as scheduled.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">Log shipping consists of three operations:</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> 1. Back up the transaction log at the primary server instance.</p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> 2. Copy the transaction log file to the secondary server instance.</p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> 3. Restore the log backup on the secondary server instance.</p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> <strong>Log file replay</strong></p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">The transactional logs are generated on the active node are replicated to the information store on the passive node using log file shipping. These replicated log files are then posted into the databases on the passive node using the log file replay technology, this means that should the active node or a database on this node fails or for some other reason go offline, an automatic failover to the passive node will occur. Hence the passive node becomes the active node, the replication of log file will happen from the new active node to passive node.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>30. Explain the CCR operation?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">With CCR, the transactional logs are generated on the active node are replicated to the information store on the passive node using log file shipping. These replicated log files are then posted into the databases on the passive node using the log file replay technology, this means that should the active node or a database on this node fails or for some other reason go offline, an automatic failover to the passive node will occur. Hence the passive node becomes the active node, the replication of log file will happen from the new active node to passive node.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>31. Explain the SCC operation?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">SCC is more or less identical to the traditional active/passive clusters we know from the previous version of Exchange. This means that a SCC-based cluster only provides service failover and still has a single point of failure when it comes to databases, unless a shared storage solution that provides redundancy in other means is used in the environment. An SCC cluster using fault tolerant SAN is much more expensive than a CCR solution</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">An SCC is basically a clustered mailbox server that consists of two or more servers that share the same storage for database and log files. The shared storage subsystem is basically a SAN</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>32. What is the advantage of CCR over SCC?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">Deploying CCR instead of SCC has several advantages,</p> <ul style="color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><li>you no longer have a single point of failure regarding database</li><li>Unlike SCC, CCR doesn't require a shared storage subsystem such as SAN, because the nodes in a CCR don't share the same disk</li> <li>You have the option of spanning the CCR between two locations</li></ul><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> <strong>33. How many databases can I have in each storage group when I'm using either LCR or CCR?</strong></p><p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"> You can only have one database in each storage group when using either LCR or CCR. In addition, you cannot have more than one Public Folder database in the organization if you want to replicate a public folder database using CCR technology</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>34. Explain LCR, CCR and SCR in short?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">LCR requires that database replicas are stored locally; CCR lets you store database replicas on a different server that must exist in the same subnet as the primary database server. With this, you can have only one replica.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">SCR allows your primary mailbox server (source) to replicate its database to multiple standby servers (targets). These target servers can exist on your LAN, but that isn't necessary. The subnet limitation doesn't apply to SCR.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>35. What is a Standby Cluster?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">A standby cluster is a Windows cluster that matches a production Exchange cluster in terms of hardware and software configuration, including Windows and Exchange versions and any updates or hot fixes that have been applied. In addition, a standby cluster has the Exchange program files installed but has not yet been configured with any Exchange Virtual Servers (EVS). Lastly, a standby cluster can only be used when all Exchange Virtual Servers on the production cluster are offline.</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><strong>36. Will the standby cluster works with Exchange Server 2007?</strong></p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)">The answer is no, but then it's really not that useful anymore, since Exchange 2007 gives us the ability to recover an Exchange 2007 cluster using the new <em>Exsetup/RecoverCMS switch</em> (which is similar to the <em>/DisasterRecovery</em> switch we know from previous versions of Exchange).</p> <p style="line-height:1.5em;margin:0px 0px 15px;padding:0px;color:rgb(42,42,42);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;background-color:rgb(250,252,255)"><a href="http://viralr.wordpress.com/high-availability/" target="_blank" style="line-height:1.5em">http://viralr.wordpress.com/high-availability/</a></p> </div></div></div> Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com0tag:blogger.com,1999:blog-3725694433739259286.post-14828472162646457122011-12-12T08:54:00.002+05:302011-12-12T08:56:23.390+05:30Enabled Circular Log in CCR Servers1. Suspend continuous replication by using the Suspend-StorageGroupCopy cmdlet.<br />2. Enable or disable circular logging. For detailed steps about how to enable or disable circular logging, see <a id="ctl00_MTCS_main_ctl13_ctl00_ctl14_ctl00_ctl06_ctl00_ctl00" href="http://technet.microsoft.com/en-us/library/bb331968(EXCHG.80).aspx">How to Enable or Disable Circular Logging for a Storage Group</a>.<br />3. Dismount and then mount the database in the storage group that is being enabled or disabled for circular logging.<br />4. Resume continuous replication by using the Resume-StorageGroupCopy cmdlet.<br /><br /><span style="font-size:78%;">More : </span><a href="http://technet.microsoft.com/en-us/library/bb331951(EXCHG.80).aspx"><span style="font-size:78%;">http://technet.microsoft.com/en-us/library/bb331951(EXCHG.80).aspx</span></a>Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com0tag:blogger.com,1999:blog-3725694433739259286.post-26032078669563902572011-11-22T12:48:00.004+05:302011-11-22T13:11:16.725+05:30Export Mails from mail.que Database (Exchange 2007)Export Email from Mail Queue Database (Exchange 2007)<br /><br /><span style="font-size:85%;">Note: Suspend the Messages in Queue before executing this command and Exported message will open with Outlook Express<br /></span><br /><span style="font-size:85%;"></span><br /><span style="font-size:85%;">Complete Mail.Que Database Mails</span><br /><span style="font-size:85%;"><span style="font-size:78%;">Get-Message -Server "HUB Server" foreach {Export-Message -Identity:$_.Identity -Path:"C:\Test"}</span> </span><br /><span style="font-size:85%;"></span><br /><span style="font-size:85%;">To Get the individual Mail from mail.que database</span><br /><span style="font-size:85%;"></span><br /><span style="font-size:85%;">suspend the Individual mail from queue viewer and get the Message Identity</span><br /><span style="font-size:85%;"></span><br /><span style="font-size:85%;">Steps to get the Message Identity</span><br /><span style="font-size:85%;">1, Open Queue viewer </span><br /><span style="font-size:85%;">2, Right Click on Domain Name and Select "<strong>View Message</strong>"</span><br /><span style="font-size:85%;">3, Select the Particular Email and go to Properties "Here you can find the Message Identity in first option"</span><br /><span style="font-size:85%;"></span><br /><span style="font-size:78%;">Export-Message -Identity "HUB2\3446420\54310188" -Path "c:\Test.eml"</span><br /><br /><br /><br /><p><span style="font-size:85%;">You can open the message from Outlook Express</span></p><br /><br /><br /><p><span style="font-size:78%;">For More Details<br /></span><a href="http://technet.microsoft.com/en-us/library/aa997214(EXCHG.80).aspx"><span style="font-size:78%;">http://technet.microsoft.com/en-us/library/aa997214(EXCHG.80).aspx</span></a><span style="font-size:78%;"><br /></span><a href="http://technet.microsoft.com/en-us/library/aa998625(EXCHG.80).aspx"><span style="font-size:78%;">http://technet.microsoft.com/en-us/library/aa998625(EXCHG.80).aspx</span></a><span style="font-size:78%;"><br /></span><a href="http://www.simple-talk.com/sysadmin/exchange/a-deep-dive-into-transport-queues---part-1/"><span style="font-size:78%;">http://www.simple-talk.com/sysadmin/exchange/a-deep-dive-into-transport-queues---part-1/</span></a><span style="font-size:78%;"> </span></p>Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com0tag:blogger.com,1999:blog-3725694433739259286.post-90618654282229184282011-09-14T12:58:00.001+05:302011-09-14T12:58:15.264+05:30Exchange Server 2007 Availability Service Explained<font size="3" face="Times New Roman"> </font><font size="3" face="Times New Roman"> </font><p style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">When planning an Exchange Server 2007 project with customers the question of Public Folders always comes up. One of the scenarios in which Public Folders are discussed is by customers who do not currently use Public Folders, and who want to know whether they need to use them with Exchange Server 2007.</font></span></p><font size="3" face="Times New Roman"> </font><p style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">The question relates to the topic of Free/Busy information, which is the data from mailbox users' calendars that lets others see their availability when trying to schedule meetings in Outlook.</font></span></p><font size="3" face="Times New Roman"> </font><p style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">Exchange 2003 stores Free/Busy information in the Public Folder database for all mailbox users, whereas Exchange Server 2007 introduced a new feature called the Availability Service to replace that functionality. The Availability Service runs on the Client Access Server role.</font></span></p><font size="3" face="Times New Roman"> </font><p style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">The Availability Service does not store Free/Busy data, rather it retrieves it on request directly from the mailbox in question. This is in contrast to Exchange 2003 which stored the data in a special Public Folder. The data was published to the Public Folder by the Outlook client itself, and so it was not always completely up to date.</font></span></p><font size="3" face="Times New Roman"> </font><p style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">Some of the advantages of the Availability Service over the Public Folder publishing method are:</font></span></p><font size="3" face="Times New Roman"> </font><ul type="disc"><font size="3" face="Times New Roman"> </font><li style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">Makes Free/Busy data sharing available in a more granular fashion for end users (e.g., can choose to just show whether they are free or not, or also show details of the meetings they have planned, etc)</font></span></li><font size="3" face="Times New Roman"> </font><li style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">Simplifies cross-Forest sharing of Free/Busy data by making it directly accessible between organizations, instead of the legacy method of synchronizing Free/Busy data with the Inter-Org Replication Tool</font></span></li><font size="3" face="Times New Roman"> </font><li style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">Exposes Free/Busy data via Exchange Web Services so that it can be accessed by other programs via APIs</font></span></li><font size="3" face="Times New Roman"> </font></ul><font size="3" face="Times New Roman"> </font><p style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">The main dependency of the Availability Service is that it can only be accessed by Outlook 2007 and later clients. Outlook 2003 and earlier have no ability to query the Availability Service. This leads to some confusion for customers, especially during a migration project when both Exchange 2003 and 2007 co-exist in the organization.Consider an organization that is in the process of migrating to Exchange Server 2007 and so has mailbox users on both 2003 and 2007 mailbox servers. Access to Free/Busy data will be achieved in the following ways:</font></span></p><font size="3" face="Times New Roman"> </font><ul type="disc"><font size="3" face="Times New Roman"> </font><li style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l2 level1 lfo2; tab-stops: list .5in;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">Regardless of the Outlook version, any Exchange 2003 mailbox user will publish Free/Busy data to the Public Folders</font></span></li><font size="3" face="Times New Roman"> </font><li style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l2 level1 lfo2; tab-stops: list .5in;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">Regardless of the server version, any Outlook 2003 or earlier client will publish Free/Busy data to the Public Folders, and read Free/Busy data from the Public Folders</font></span></li><font size="3" face="Times New Roman"> </font><li style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l2 level1 lfo2; tab-stops: list .5in;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">Outlook 2007 clients on Exchange 2007 mailbox servers will query the Availability Service for Free/Busy data</font></span></li><font size="3" face="Times New Roman"> </font><li style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l2 level1 lfo2; tab-stops: list .5in;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">The Availability Service retrieves Free/Busy data directly from Exchange 2007 mailboxes, and from Public Folders for Exchange 2003 mailboxes</font></span></li><font size="3" face="Times New Roman"> </font></ul><font size="3" face="Times New Roman"> </font><p style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">What this usually boils down to for customers, when planning for the stage that they are running only Exchange 2007 servers, are these simple rules:</font></span></p><font size="3" face="Times New Roman"> </font><ul type="disc"><font size="3" face="Times New Roman"> </font><li style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l1 level1 lfo3; tab-stops: list .5in;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">If you have any Outlook 2003 or earlier clients, you will still need Public Folders for Free/Busy information</font></span></li><font size="3" face="Times New Roman"> </font><li style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l1 level1 lfo3; tab-stops: list .5in;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">If all your clients are Outlook 2007 or later, you do not need to retain Public Folders for Free/Busy information</font></span></li><font size="3" face="Times New Roman"> </font></ul><font size="3" face="Times New Roman"> </font><p style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;" class="MsoNormal"><span style="font-family: "Times New Roman","serif"; mso-fareast-font-family: "Times New Roman";"><font size="3">It may seem a trivial issue, but being able to remove Public Folders completely makes the environment that little bit easier to deploy and administer. At the very least it is one less database to backup on the server.</font></span></p><font size="3" face="Times New Roman"> </font> Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com0tag:blogger.com,1999:blog-3725694433739259286.post-34685328416187445752011-04-27T05:01:00.004+05:302011-04-27T05:08:56.888+05:30Exchange Schema Version 2003 to 2010<strong>Exchange Schema Versions</strong><br /><br />When preparing an Active Directory forest for the deployment of Exchange Server, one of the steps is to extend the Active Directory schema with new Exchange specific attributes and make modifications to existing schema classes and attributes.<br />Depending on the Exchange Server version (or Exchange service pack) used, the Active directory schema is extended with a different set of schema classes and attributes. The following table lists the Exchange schema version for each Exchange Server version and Exchange service pack released since Exchange 2003 RTM.<br /><br /><br /><br /><strong>Schema Version</strong> <strong>rangeUpper Value</strong><br />Exchange 2003 RTM : 6870<br /><br />Exchange 2003 SP1 : 6870<br /><br />Exchange 2003 SP2 : 6870<br /><br />Exchange 2007 RTM : 10637<br /><br />Exchange 2007 SP1 : 11116<br /><br />Exchange 2007 SP2 : 14622<br /><br />Exchange 2007 SP3 : 14625<br /><br />Exchange 2010 RTM : 14622<br /><br />Exchange 2010 SP1 : 14726<br /><br /><br /><strong>Check Schema Version</strong><br /><br /><strong>Using DSQuery</strong><br />If you want to look up the rangerUpper value using DSQuery, open a command prompt and type the following command:<br /><br />dsquery * CN=ms-Exch-Schema-Version-Pt,cn=schema,cn=configuration,dc=domain,dc=local -scope base -attr rangeUpper<br /><br /><span style="font-size:78%;">For more information:<br />http://social.technet.microsoft.com/wiki/contents/articles/exchange-schema-versions-common-questions-amp-answers.aspx</span>Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com2tag:blogger.com,1999:blog-3725694433739259286.post-50524139901454864992010-12-23T08:19:00.004+05:302010-12-23T08:26:08.570+05:30Google Provides Backup Services for Exchange Server<strong>Google Message Continuity<br /><br /></strong><span style="font-size:85%;">Complete email continuity and disaster recovery solution in one package<br />Protect your organization from email outages and productivity disruptions. Minimize risk of data loss from on-premise server failures. Maintain up-to-date correspondences despite incidents affecting IT infrastructure. Leverage cloud computing to reduce maintenance, protect bandwith, and free up resources to work on strategic business initiatives.<br /><br /><a href="http://1.bp.blogspot.com/_BBQL7X1kWXg/TRK50sUij_I/AAAAAAAAAGc/HxNF-uBCPZg/s1600/Gmail.bmp"><img id="BLOGGER_PHOTO_ID_5553705605402890226" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 200px; CURSOR: hand; HEIGHT: 108px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_BBQL7X1kWXg/TRK50sUij_I/AAAAAAAAAGc/HxNF-uBCPZg/s200/Gmail.bmp" border="0" /></a><br /><div align="left"><br /><br />1. Postini filters inbound messages for spam, viruses, and other malicious content.<br />2. Postini dual-delivers inbound messages to both Gmail and Exchange.<br />3. Recipient accesses message through Exchange; Gmail, when Exchange is unavailable.<br />4. Google Sync Server continuously synchronizes changes made from one inbox to the other<br /><br /><strong>Product Summary<br /><br /></strong>Google Message Continuity, powered by Postini, is a cloud-based email continuity solution for organizations running Microsoft Exchange email servers. By providing Gmail as an alternate, synchronized email system, Google Message Continuity increases email availability for your organization and helps users stay productive in the event of a disaster or outage of the Exchange server. By extending the reliability, security, and functionality of Google’s services to Exchange, Google Message Continuity allows you to:<br />• Develop a complete email continuity and disaster recovery solution for your organization<br />• Maintain constant email access for users round the clock, even if your Exchange server is not available<br />• Minimize the risk of data loss due to on-premise server failures<br />• Protect your email from spam, viruses, phishing, and other email-borne threats with built-in message security features<br />As a cloud computing service, Google Message Continuity requires no costly hardware or appliances, helping to produce a low total cost of ownership. The service is easily managed through a simple web interface and includes customizable notification and authentication settings to inform IT administrators during Exchange server failures. Since all inbound, outbound, and intradomain messages are constantly synchronized between Exchange and Gmail, Google Message Continuity also helps ensure that users can still access their email messages, contacts and calendars during server outages so your business can keep operating.<br />What’s more, users can enjoy Gmail’s full functionality during Exchange outages, including 25 GB of email storage, mobile email and calendar sync, and chat. After the outage is resolved, received messages and changes made to Gmail are synced back to Exchange.<br />Google Message Continuity also includes a complete set of email security features, so you can provide industry-leading security for your email systems without installing expensive software or appliances. This helps you block spam, viruses, and other external threats before they reach your organization, helping protect proprietary information that must remain confidential.<br /><br /><strong>Key Features<br /></strong><br />Constant email access Never go without email. If your Exchange Server goes down, enjoy the full functionality and reliability of Gmail, Calendar, and Contacts – all synchronized, all up-to-date.<br />Continued user productivity Seamlessly transition to Gmail during an Exchange outage so users can continue to send and receive email and retain access to contacts and calendar. Directory Sync allows login with common usernames, enabling rapid failover.<br />Mobile support Access Gmail, Calendar, and Contacts from your mobile device and stay productive on the go<br />Secure and reliable Google’s data center architecture helps keep data secure and helps ensure reliable access for your users<br />Email security Provides market-leading email security features including real-time spam and virus protection, content filtering for inbound and outbound email, and TLS-based email encryption.<br />Google Message Continuity helps you to protect, manage, and preserve access to your on-site email system by providing:<br />Round the clock email access Inbound and outbound messages are dual-delivered to both on-site servers and corresponding Gmail accounts, so that in the event of an on-site server failure or disruption users will retain email access and be able to continue past correspondences.<br />Automated email backup Google Message Continuity automates email backup by constantly synchronizing on premise accounts with corresponding Gmail accounts. And, with 25 GB of space per account, you won’t have to worry about retention periods or limits on how long your data is stored.<br />Mobile access Access Gmail, Calendar, and Contacts from most common types of mobile devices, enabling users to stay productive and connected on the go.<br />“Always on, always current” Message Security Routing messages through Google’s market-leading Google Message Security functionality provides real-time threat protection, virus detection, content-based filtering, and policy-enforced TLS encryption.<br /><br /><strong>System Requirements<br /></strong>Google Message Continuity supports the following mail servers:<br />• Microsoft Exchange Server 2003 Standard and Enterprise Editions<br />• Microsoft Exchange Server 2007 Standard and Enterprise Editions Recipient/ Sender Gmail Postini Sender/ Recipient Microsoft Exchange Server Google Sync Server 22 3 4 1 Postini filters inbound messages for spam, viruses, and other malicious content. Postini dual-delivers inbound messages to both Gmail and Exchange. Recipient accesses message through Exchange; Gmail, when Exchange is unavailable. Google Sync Server continuously synchronizes changes made from one inbox to the other.<br /><br /><em><span style="color:#ff0000;">For More Information : http://www.google.com/postini/continuity.html#gallery<br /></span></em></div></span>Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com0tag:blogger.com,1999:blog-3725694433739259286.post-25361468434889919052010-12-22T20:56:00.003+05:302010-12-22T20:59:55.666+05:30Find Duplicate SMTP Address<strong>Follow the Below Steps to Find the Dupilcate EMail Address in your Exchange Org</strong><br /><br />-----------------------------------------------------------------------------<br />The Active Directory Users and Computers snap-in can be used to search for the address. To do this, follow these steps:<br /><br />1, Run Active Directory Users and Computers. <br />2, Right-click the domain object and choose Find from the context menu. This will<br /> bring up the Find Users, Contacts, and Groups window. <br />3, In the Find drop-down list, choose Custom Search. <br />4, Click the Advanced tab and in the Enter LDAP query: field, enter the following<br /> text: proxyaddresses=smtp:balgates@contoso.com <br />5, Click the Find Now button<br />---------------------------------------------------------------------------------------Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com0tag:blogger.com,1999:blog-3725694433739259286.post-49533405148129080202010-12-13T04:58:00.005+05:302010-12-22T20:55:52.982+05:30Exchange Server 2010 Backup & Restore
<br /><div><a href="http://1.bp.blogspot.com/_BBQL7X1kWXg/TQVb3VvkVZI/AAAAAAAAAC4/7jqiQAzxl4w/s1600/001.bmp"></a>
<br /><strong>Back up Microsoft Exchange 2010 with Windows Server Backup </strong>
<br />
<br />Windows Server Backup is included with Windows Server 2008 R2 and can be a great quick-and-dirty way to back up an Exchange server. Scott Lowe explains how to use this tool No matter how small the Exchange implementation, the data needs to be backed up. Many Exchange shops (particularly smaller ones) have relied on the ubiquitous Windows Server Backup utility to protect their Exchange environments against disaster.
<br />
<br />Although there was a period of time when Exchange and Windows Server Backup didn't work together, with Windows Server 2008 R2 and Exchange 2010, this is not the case, and the backup and recovery of Exchange using this tool is a relatively simple process.
<br />
<br />For the demonstration in this tutorial, I'll back up a single Exchange 2010 mailbox database that exists on a server named MAIL3. At Westminster College, we're currently in a pilot phase for an Exchange 2010 rollout, and we're using Windows Server Backup during this phase. Once we're in full production, we'll move to our normal enterprise backup application.
<br />
<br />How to use Windows Server Backup with Exchange 2010
<br />Figure A gives you a look at the Exchange Management Console view of this database. The other two databases you see reside on a different Exchange server.
<br />
<br />
<br />We'll back up the default mailbox database on MAIL3.
<br />
<br />Start the Windows Server Backup tool by going to Start | All Programs | Accessories | System Tools | Windows Server Backup. More than likely, you'll end up with a screen like the one in Figure B that tells you the backup tool is not yet installed on your server.
<br />
<br />Figure B
<br />
<br /> Windows Server Backup is not yet installed.
<br />
<br />To add the Windows Server Backup bits to your Windows Server 2008 R2 server, open Server Manager, navigate to the Features item, and click the Add Features link (Figure C).
<br />
<br />Figure C
<br /> Click Add Features to add a new server feature.
<br />
<br />On the Select Features page, locate the Windows Server Backup Features option and select it (Figure D). Although it's not required, it's also recommended that you install the Command-Line Tools so that you can script backup jobs if you like.
<br />
<br />Figure D
<br />
<br /> Choose to add the backup tool.
<br />
<br />When you get to the Confirm Installation Selections page (Figure E), look over your selections and click the Install button to add the features. At the end of the process, you will receive the results screen shown in Figure F.
<br />
<br />Figure E
<br />
<br />Review your selections and click Install.
<br />
<br />Figure F
<br />
<br />The backup tool has been installed.
<br />
<br />Now that Windows Server Backup is installed, when you restart the utility, you'll be greeted with a screen like the one in Figure G. At the top of the window, Windows Server Backup will tell you that there are no current backups configured, and all of the informational areas of the window will be blank since there is no detail to share until after an initial backup is run.
<br />
<br />
<br />
<br />The backup tool has been installed.
<br />
<br />Now that Windows Server Backup is installed, when you restart the utility, you'll be greeted with a screen like the one in Figure G. At the top of the window, Windows Server Backup will tell you that there are no current backups configured, and all of the informational areas of the window will be blank since there is no detail to share until after an initial backup is run.
<br />
<br />Figure G
<br />
<br /> The Windows Server Backup window is mostly blank to start.
<br />
<br />I'll jump right into creating a backup schedule in order to schedule a regular backup of this Exchange Server database. To start the process, go to the Action menu and choose Backup Schedule (Figure H).
<br />
<br />Figure H
<br />
<br /> Schedule a server backup
<br />
<br />Starting the backup schedule kicks off a wizard that begins with a welcome screen that outlines what decisions you need to make (Figure I). For the purposes of this article, I'll stick mostly with defaults.
<br />
<br />Figure I
<br />
<br />Backup Schedule Wizard Getting Started page
<br />
<br />On the next page of the wizard, you're asked to decide what you'd like to back up. You can choose to back up the entire server (this includes all data, applications, and system state), or you can choose to perform a custom backup, which allows you to make granular options about what to back up. You see in Figure J that I'm performing a full server backup that will use 17.52 GB of space.
<br />
<br />Figure J
<br />
<br />
<br />
<br />Choose what to back up
<br />
<br />Although the backup default is to run every day at 9:00 P.M., you can choose to run the backup at a different time (Figure K) or, if you need a shorter recovery period, can choose to run multiple backups each day. To add additional daily backups, select the button next to More Than Once A Day, specify the times you'd like, and click the Add button. After you make your choices, click the Next button.
<br />
<br />Figure K
<br />
<br />
<br />
<br />Decide at what time(s) each day you'd like to run backups.
<br />
<br />With the "what" and the "when" out of the way, it's time to consider the "where" (Figure L); specifically, you need to make sure to back up your information to a location that can survive a server failure. You can choose to back data up to a hard drive that you've dedicated to this purpose. Ideally, this would be a removable drive of some kind that you can store away from the server. If you can't do this, you can back data up to an existing server volume, although you may take a performance hit and, if the server is lost in a disaster, recovery won't be possible. The option that I prefer is to back data up to a volume on a separate server. In my case, this second server resides in a different building.
<br />
<br />Figure L
<br />
<br />
<br />
<br />Where do you want to save backups?
<br />
<br />When you choose the remote location option, you're told that each backup will overwrite previous backups and only the latest backup will be available (Figure M). If you need multiple backups to be available, consider other backup options.
<br />
<br />"THE SADDEST THING IN LIFE IS WASTED TALENT"
<br />
<br />A+/Core & Tech OS Passed Security+ Passed Network+ Passed CNST Passed MCP Passed MCSA-2003 Passed MCTS-2008 Passed MCITP-2008 Passed
<br /> CCNA Pending
<br />0 Report
<br /> Back to top
<br /> MultiQuote
<br /> Reply
<br />
<br />--------------------------------------------------------------------------------
<br />Posted 22 September 2010 - 11:54 PM (#3) CompJunkie
<br />
<br />TE Microsoft & CompTIA
<br />
<br />
<br />Group: Technical Expert Posts: 401 Joined: 29-March 09 LocationUSA
<br />Figure M
<br />
<br />
<br />
<br />Heed the warning
<br />
<br />When you choose the remote backup option, you need to specify where the backup should be saved. On the screen shown in Figure N, you'll note that backups are being written to a server named Backup and to a folder named MAIL3 on a share named Exchange10. In the Access Control section of the window, the Inherit option is selected, indicating that anyone who has access to the shared folder also has access to the backup file. As such, set carefully controlled share and NTFS permissions on the resource.
<br />
<br />Figure N
<br />
<br />
<br />
<br />Specify where the backup should be saved
<br />
<br />For a remote share, you need to provide a user name and a password that has access to the backup destination (Figure O).
<br />
<br />Figure O
<br />
<br />
<br />
<br />Provide credentials for the remote backup location
<br />
<br />Finally, the confirmation page appears, providing you with an opportunity to review your backup selections (Figure P). When you're done, click the Finish button.
<br />
<br />Figure P
<br />
<br />
<br />
<br />Review your backup selections
<br />
<br />When you get back to the backup console, you can click the View Details link under Next Backup to see details about your pending backup. Figure Q shows this detail window for the backup we just created.
<br />
<br />Details about the next scheduled backup
<br />
<br />If you'd like to kick off a manual backup before the next scheduled backup, go to Action | Backup Once. On the first page of the Backup Once Wizard (Figure R), you're asked how you want to run the backup. Do you want to use the same options you used for your scheduled backup, or do you want to choose different backup options?
<br />Figure
<br />
<br />
<br />Backup Once options
<br />
<br />The Backup Once Wizard provides you with a summary page. Click the Backup button to begin the backup process (Figure S). During the backup process, the window in Figure T will display on the screen so that you can watch backup progress. At the end of the process, you'll see a final completion page (Figure U).
<br />
<br />Figure S
<br />
<br />
<br />
<br />Backup summary page
<br />
<br />Figure T
<br />
<br />
<br />Backup status page
<br />
<br />Figure U
<br />
<br />
<br />
<br />The backup is complete.
<br />
<br />Proof
<br />
<br />
<br />How do you actually know that Exchange was appropriately backed up? That's revealed during the restore process. Although I'm not covering restores here, I will share the screen in Figure V; this shows that the Exchange application was backed up and that, specifically, the database on the server named MAIL3 was the one that was saved.
<br />
<br />Figure V
<br />
<br />
<br />
<br />The restore process reveals that the Exchange database exists in the backup.
<br />
<br />Summary
<br />
<br />
<br />While suitable mostly for small organizations and those running pilots, the Windows Server Backup utility can be a great way to back up your Exchange 2010 server without having to invest more dollars in software.
<br />
<br />Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com1tag:blogger.com,1999:blog-3725694433739259286.post-30630209502338794162009-05-13T16:37:00.000+05:302009-05-13T17:21:30.199+05:30Exchange Server 2010 Installation<div><br />Installation of exchange 2010 is not making any difference when compare with Exchange 2007. its all same method.<br /><br /><strong>Active Directory Preparation for Exchange 2010:</strong><br /><br />1, Schema Master & Global Catalog : Windows Server 2003 SP2 Standard or Enterprises<br />32 or 64 bit.<br />2, Functional Levels : Domain & Forest Functional Level must be in Windows Server<br />2003 Native or Higher.<br /><br /><strong>Server Specification:</strong><br /><br /><strong>Hardware</strong><br /><br />Processor : Intel 64-bit or AMD64<br />Memory : Minimum 2 GB Supported upto 64GB <a href="http://technet.microsoft.com/en-us/library/dd346700(EXCHG.140).aspx">More Details</a><br /><br /><strong>Disk Space:</strong><br /><br />Minimum 1.2 GB to Install Exchange Server, 500 MB for Unified Messaging<br />200 MB for System Drive & 500 MB to Transport Server Role<br /><br /><br /><strong>Operating system</strong><br /><br />Operating System : Windows Server 2008 64bit ( Standard, Enterprises or Datacenter)<br /><br /><strong>Prerequisites:</strong><br />IIS 7 (Basic Auth, Windows Auth, Digest Auth, Dynamic content Compression, .net extensibility, IIS 6 Management tools.<br />Remote Server Administration Tools Pack<br />.net frame work 3.0<br />Desktop Experience<br /><strong>Download & Install</strong><br />a) <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en">.net framework 3.5 SP1</a>.<br />b) <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c913aeab-d7b4-4bb1-a958-ee6d7fe307bc&displaylang=en">Power shell V2</a><br />c) <a href="https://connect.microsoft.com/WSMAN/Downloads">Windows Remote Management</a><br />d) <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=60c92a37-719c-4077-b5c6-cac34f4227cc&displaylang=en">2007 Office System Converter</a><br />e) <a href="http://support.microsoft.com/kb/950888">Hot fix– KB950888</a><br />f) <a href="http://support.microsoft.com/kb/951725/en-us">Hot fix – KB951725</a><br /><br />Exchange Server 2k10 Installation Steps<br /><br /><a href="http://2.bp.blogspot.com/_BBQL7X1kWXg/SgqsMX-0jKI/AAAAAAAAAAM/0TQlYOzXDNI/s1600-h/001.bmp"><img id="BLOGGER_PHOTO_ID_5335266037169687714" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_BBQL7X1kWXg/SgqsMX-0jKI/AAAAAAAAAAM/0TQlYOzXDNI/s320/001.bmp" border="0" /></a> </div><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><div><a href="http://2.bp.blogspot.com/_BBQL7X1kWXg/SgquWX9ILtI/AAAAAAAAAAU/Yp8hVhRmnaQ/s1600-h/002.bmp"><img id="BLOGGER_PHOTO_ID_5335268407984533202" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://2.bp.blogspot.com/_BBQL7X1kWXg/SgquWX9ILtI/AAAAAAAAAAU/Yp8hVhRmnaQ/s320/002.bmp" border="0" /></a><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><div><a href="http://2.bp.blogspot.com/_BBQL7X1kWXg/SgquWvaDAFI/AAAAAAAAAAc/IksyF0CIs4w/s1600-h/003.bmp"><img id="BLOGGER_PHOTO_ID_5335268414279843922" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://2.bp.blogspot.com/_BBQL7X1kWXg/SgquWvaDAFI/AAAAAAAAAAc/IksyF0CIs4w/s320/003.bmp" border="0" /></a><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><div><a href="http://4.bp.blogspot.com/_BBQL7X1kWXg/SgquWiJVcBI/AAAAAAAAAAk/XdsUYqtCSys/s1600-h/004.bmp"><img id="BLOGGER_PHOTO_ID_5335268410720088082" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://4.bp.blogspot.com/_BBQL7X1kWXg/SgquWiJVcBI/AAAAAAAAAAk/XdsUYqtCSys/s320/004.bmp" border="0" /></a><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><div><a href="http://4.bp.blogspot.com/_BBQL7X1kWXg/SgquW5I8H6I/AAAAAAAAAAs/9lhWN1Vm4hk/s1600-h/005.bmp"><img id="BLOGGER_PHOTO_ID_5335268416892444578" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://4.bp.blogspot.com/_BBQL7X1kWXg/SgquW5I8H6I/AAAAAAAAAAs/9lhWN1Vm4hk/s320/005.bmp" border="0" /></a><br /><br /><br /><br /><a href="http://2.bp.blogspot.com/_BBQL7X1kWXg/SgquWzcWicI/AAAAAAAAAA0/9KR0qEZrnlE/s1600-h/006.bmp"><img id="BLOGGER_PHOTO_ID_5335268415363254722" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://2.bp.blogspot.com/_BBQL7X1kWXg/SgquWzcWicI/AAAAAAAAAA0/9KR0qEZrnlE/s320/006.bmp" border="0" /></a><br /><br /><br /><br /><br /><br /><div><a href="http://4.bp.blogspot.com/_BBQL7X1kWXg/Sgqwjc3aNeI/AAAAAAAAAA8/O2guAGQcOuc/s1600-h/007.bmp"><img id="BLOGGER_PHOTO_ID_5335270831664281058" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://4.bp.blogspot.com/_BBQL7X1kWXg/Sgqwjc3aNeI/AAAAAAAAAA8/O2guAGQcOuc/s320/007.bmp" border="0" /></a><br /><br /><br /><br /><br /><br /><div><a href="http://1.bp.blogspot.com/_BBQL7X1kWXg/SgqwjUhHlCI/AAAAAAAAABE/lTU5kvakDPY/s1600-h/008.bmp"><img id="BLOGGER_PHOTO_ID_5335270829423301666" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://1.bp.blogspot.com/_BBQL7X1kWXg/SgqwjUhHlCI/AAAAAAAAABE/lTU5kvakDPY/s320/008.bmp" border="0" /></a><br /><br /><br /><br /><br /><br /><div><a href="http://4.bp.blogspot.com/_BBQL7X1kWXg/SgqwjUPGZqI/AAAAAAAAABM/GigLm7QMPcc/s1600-h/009.bmp"><img id="BLOGGER_PHOTO_ID_5335270829347727010" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://4.bp.blogspot.com/_BBQL7X1kWXg/SgqwjUPGZqI/AAAAAAAAABM/GigLm7QMPcc/s320/009.bmp" border="0" /></a><br /><br /><br /><br /><br /><br /><div><a href="http://3.bp.blogspot.com/_BBQL7X1kWXg/SgqwjYcVzzI/AAAAAAAAABU/H4tlr_Pi2V4/s1600-h/010.bmp"><img id="BLOGGER_PHOTO_ID_5335270830477004594" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://3.bp.blogspot.com/_BBQL7X1kWXg/SgqwjYcVzzI/AAAAAAAAABU/H4tlr_Pi2V4/s320/010.bmp" border="0" /></a><br /><br /><br /><br /><a href="http://3.bp.blogspot.com/_BBQL7X1kWXg/SgqwjpIQC1I/AAAAAAAAABc/dtul6UxsILw/s1600-h/011.bmp"><img id="BLOGGER_PHOTO_ID_5335270834956143442" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://3.bp.blogspot.com/_BBQL7X1kWXg/SgqwjpIQC1I/AAAAAAAAABc/dtul6UxsILw/s320/011.bmp" border="0" /></a><br /><br /><br /><div><a href="http://4.bp.blogspot.com/_BBQL7X1kWXg/SgqzvW5mmaI/AAAAAAAAABk/OGvZfMbNEbE/s1600-h/012.bmp"><img id="BLOGGER_PHOTO_ID_5335274334756182434" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://4.bp.blogspot.com/_BBQL7X1kWXg/SgqzvW5mmaI/AAAAAAAAABk/OGvZfMbNEbE/s320/012.bmp" border="0" /></a><br /><br /><br /><br /><div><a href="http://4.bp.blogspot.com/_BBQL7X1kWXg/SgqzvvQZ8bI/AAAAAAAAABs/t7iMAaBUMlI/s1600-h/013.bmp"><img id="BLOGGER_PHOTO_ID_5335274341294272946" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://4.bp.blogspot.com/_BBQL7X1kWXg/SgqzvvQZ8bI/AAAAAAAAABs/t7iMAaBUMlI/s320/013.bmp" border="0" /></a><br /><br /><br /><br /><a href="http://1.bp.blogspot.com/_BBQL7X1kWXg/Sgqzv_jlqVI/AAAAAAAAAB0/hi_qtSY-Yko/s1600-h/014.bmp"><img id="BLOGGER_PHOTO_ID_5335274345669699922" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://1.bp.blogspot.com/_BBQL7X1kWXg/Sgqzv_jlqVI/AAAAAAAAAB0/hi_qtSY-Yko/s320/014.bmp" border="0" /></a><br /><br /><br /><br /><div></div><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><div></div></div></div></div></div></div></div></div></div><br /><br /><br /><div></div></div></div>Bala Krishna Ghttp://www.blogger.com/profile/00614128026531922939noreply@blogger.com0