<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Mike McIntyre's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/mmcintyr/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/mmcintyr/feed.xml</link>
    <description />
    <lastBuildDate>Tue, 16 Apr 2019 05:20:51 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>PerfWizard–Troubleshooting performance issues in SharePoint Server by using the PerfWizard diagnostic tool</title>
      <link>https://docs.microsoft.com/archive/blogs/mmcintyr/perfwizardtroubleshooting-performance-issues-in-sharepoint-server-by-using-the-perfwizard-diagnostic-tool</link>
      <pubDate>Tue, 17 Dec 2013 16:15:52 GMT</pubDate>
      <dc:creator><![CDATA[Mike McIntyre [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mmcintyr/2013/12/17/perfwizardtroubleshooting-performance-issues-in-sharepoint-server-by-using-the-perfwizard-diagnostic-tool/</guid>
      <description><![CDATA[Audience   This version of PerfWizard is designed for Microsoft Support Engineers and IT Pros who...]]></description>
      <content:encoded><![CDATA[<h1><a style="cursor: auto;" name="_Toc368404882"><font style="font-size: 16pt;">Audience</font></a></h1> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">This version of PerfWizard is designed for Microsoft Support Engineers and IT Pros who specialize in Microsoft SharePoint Server. PerfWizard can be used to help identity performance issues and bottlenecks in a SharePoint farm. In order to use PerfWizard, you must be a local administrator on each server on which you want to collect performance data.</font></p> <font style="font-size: 12pt;"></font>  <h1 style="margin: 12pt 0in 6pt; line-height: 17pt; clear: none; list-style-type: disc;"><a style="cursor: auto;" name="_Toc368404883"><font style="font-size: 16pt;">Disclaimer</font></a></h1> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">PerfMon Data Collector Sets write performance data to disk. We highly recommend that you store the PerfMon logs on a non-system drive. This option is presented when you run PerfWizard. Microsoft does not support the practice of modifying the scripts that PerfWizard generates, unless you are directed to do this by Microsoft.</font></p> <font style="font-size: 12pt;"></font>  <h1 style="margin: 12pt 0in 6pt; line-height: 17pt; clear: none; list-style-type: disc;"><a style="cursor: auto;" name="_Toc368404884"><font style="font-size: 16pt;">What is PerfWizard?</font></a></h1> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">PerfWizard is a diagnostic tool that helps customers and engineers resolve performance-related issues in their SharePoint deployments. PerfWizard helps you create and deploy Performance Monitor (<a style="cursor: auto;" href="https://technet.microsoft.com/en-us/library/cc749249.aspx"><i style="mso-bidi-font-style: normal;">PerfMon</i></a>) counters through automation on specified servers in the farm that are running SharePoint and Microsoft SQL Server. You can run PerfWizard on one computer in the SharePoint farm to create a series of .cmd files. These .cmd files let you create, delete, start, stop, and query the PerfMon counters. They are highlighted in the <a style="cursor: auto;" href="#_File_List_1"><i style="mso-bidi-font-style: normal;">File List</i></a> section. The .cmd files perform all these operations remotely on each server that you specify when you run PerfWizard. Without PerfWizard, it can take hours to set up PerfMon counters on multiple servers in a farm. By using PerfWizard, that job should take only a few minutes to finish.</font></p> <font style="font-size: 12pt;"></font>  <h1 style="margin: 12pt 0in 6pt; line-height: 17pt; clear: none; list-style-type: disc;"><a style="cursor: auto;" name="_Toc368404885"></a><a style="cursor: auto;" name="_How_Do_I"></a><span style="mso-bookmark: _toc368404885;"><font style="font-size: 16pt;">How Do I Get PerfWizard?</font></span></h1> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">PerfWizard is a tool that was developed by and is primarily used by Microsoft Technical Support Engineers. To use PerfWizard, you must open a support case with Microsoft. You can <a style="cursor: auto;" href="https://support.microsoft.com/get-support/more/"><i style="mso-bidi-font-style: normal;">contact Microsoft Support</i></a> to open a support case. Your Support agent can then send you a link to download PerfWizard.</font></p> <font style="font-size: 12pt;"></font>  <h1 style="margin: 12pt 0in 6pt; line-height: 17pt; clear: none; list-style-type: disc;"><a style="cursor: auto;" name="_Toc368404886"></a><a style="cursor: auto;" name="_File_List"></a><a style="cursor: auto;" name="_PerfWizard_Versions_and"></a><span style="mso-bookmark: _toc368404886;"><font style="font-size: 16pt;">Running PerfWizard</font></span></h1> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">The nature of the performance issue that you are experiencing will likely determine how you run PerfWizard and the data collector scripts. Does the issue occur intermittently or constantly? Does it affect only certain servers? Which services are deployed to the servers? Does the issue occur only at certain times of day? These are the kinds of questions that you must ask before you collect performance data. Troubleshooting performance can be a long and difficult process, so proper planning saves time.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">When you run PerfWizard, you enter the server names for each server that is running SQL Server, each Web Front End server, and each search server on which you want to create performance counters. You can refer to the <a style="cursor: auto;" href="#_PerfWizard_Versions_and_1"><i style="mso-bidi-font-style: normal;">PerfWizard Versions and Counters</i></a> section to see which counters are deployed to each kind of server. PerfWizard allows a server to have one set of counters So you cannot add the same server both to the Web Front End to SQL Server. Specify only the servers on which you want to create the counters. This might be a specific server or every computer in the farm.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">Follow these guidelines when you collect PerfMon data:</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 1in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-add-space: auto; mso-list: l3 level1 lfo5;"><span style="mso-fareast-font-family: symbol; mso-bidi-font-family: symbol;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">·</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">It’s important to have baseline performance data to know the average performance of the system. This data also gives you something to evaluate against when a performance issue is occurring. Baseline counters should be run continuously so that performance can be evaluated around-the-clock. By default, the baseline data collectors that are created by PerfWizard have a 60 second sample interval.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 1in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-add-space: auto; mso-list: l3 level1 lfo5;"><span style="mso-fareast-font-family: symbol; mso-bidi-font-family: symbol;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">·</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">When the issue occurs, collect incident performance data. An incident data collector set has a smaller sample interval than the baseline set has, so it collects data more frequently. By default, the incident data collectors that are created by PerfWizard have a 5 second interval. Incident performance data files can grow very quickly. It’s important to run these only when the issue is occurring. These data files have a 500 MB maximum size limit. If the limit is reached, the data collection stops.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpLast" style="margin: 0in 0in 8pt 1in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-add-space: auto; mso-list: l3 level1 lfo5;"><span style="mso-fareast-font-family: symbol; mso-bidi-font-family: symbol;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">·</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Sometimes, the first two guidelines aren’t possible to follow. This happens when you experience a constant performance issue without having any baseline performance information. In these cases, collect either baseline or incident data, and then compare it to <a style="cursor: auto;" href="https://technet.microsoft.com/library/cc262971.aspx"><i style="mso-bidi-font-style: normal;">recommended performance metrics</i></a>.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">PerfWizard can be run on computers both with and without Internet access. In either situation, you will be sent a URL to the Microsoft Support website by the agent who is working on your incident. If you have not yet opened a support case, see the <a style="cursor: auto;" href="#_How_Do_I"><i style="mso-bidi-font-style: normal;">How Do I Get PerfWizard?</i></a> section. </font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">Follow the instructions below to run PerfWizard.</font></p> <font style="font-size: 12pt;"></font>  <h2 style="margin: 2pt 0in 6pt; line-height: 14pt; clear: none; list-style-type: disc;"><a style="cursor: auto;" name="_Toc368404887"></a><a style="cursor: auto;" name="_With_Internet_Access"></a><span style="mso-bookmark: _toc368404887;"><font style="font-size: 13pt;">With Internet Access</font></span></h2> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l4 level1 lfo2;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">1.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">On the <b style="mso-bidi-font-weight: normal;">Start</b> menu on one of the servers in the farm, right-click <b style="mso-bidi-font-weight: normal;">Internet Explorer</b>, and then click <b style="mso-bidi-font-weight: normal;">Run as Administrator</b>.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpLast" style="margin: 0in 0in 8pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l4 level1 lfo2;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">2.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Open the URL that was sent to you by your Support agent. The following screen is displayed:</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/3276.clip_image002_001B0F62.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/3276.clip_5F00_image002_5F00_001B0F62.jpg"><img title="clip_image002" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/2727.clip_image002_thumb_4CDED5F8.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/2727.clip_5F00_image002_5F00_thumb_5F00_4CDED5F8.jpg" width="265" height="162" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;" align="center"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraph" style="margin: 0in 0in 8pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l4 level1 lfo2;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">3.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Click <b style="mso-bidi-font-weight: normal;">Run. </b>The following screen is displayed:</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/2677.clip_image004_774B0715.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/2677.clip_5F00_image004_5F00_774B0715.jpg"><img title="clip_image004" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/1018.clip_image004_thumb_5657946E.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/1018.clip_5F00_image004_5F00_thumb_5F00_5657946E.jpg" width="371" height="293" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><b style="mso-bidi-font-weight: normal;"><font style="font-size: 11pt;">Note:</font></b><font style="font-size: 11pt;"> We highly recommend that you run the network connectivity tests that are offered here before you accept the license agreement. Many servers have restricted network access. Therefore,<span style="mso-spacerun: yes;">&#160; </span>the diagnostic package may fail in the next step as it downloads components that it requires to run. After you agree to the license agreement, and you verify that you have network connectivity to the download servers, click <b style="mso-bidi-font-weight: normal;">Accept</b>.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; list-style-type: disc;" align="center"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpLast" style="margin: 0in 0in 8pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l4 level1 lfo2;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">4.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">When you see the following screen, select <b style="mso-bidi-font-weight: normal;">This Computer</b>, and then click <b style="mso-bidi-font-weight: normal;">Next</b>:</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;" align="center"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/8054.clip_image006_557F2E84.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/8054.clip_5F00_image006_5F00_557F2E84.jpg"><img title="clip_image006" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/1057.clip_image006_thumb_3BAAF855.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/1057.clip_5F00_image006_5F00_thumb_5F00_3BAAF855.jpg" width="424" height="334" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraph" style="margin: 0in 0in 8pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l4 level1 lfo2;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">5.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Now you can run PerfWizard. You are presented a series of dialog boxes that ask you to input the names of your servers by role. Remember that you can refer to the <a style="cursor: auto;" href="#_PerfWizard_Versions_and"><i style="mso-bidi-font-style: normal;">PerfWizard Versions and Counters</i></a><i style="mso-bidi-font-style: normal;"> </i>section to see which counters are deployed to each kind of server. PerfWizard allows only one set of counters to be created on each server, so you cannot add the same server<span style="mso-spacerun: yes;">&#160; </span>both to the Web Front End and to SQL Server. Specify only the servers on which you want to create the counters. These can be a specific server or every computer in the farm, as shown in the following screen shot:</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/7652.clip_image008_4FC414DE.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/7652.clip_5F00_image008_5F00_4FC414DE.jpg"><img title="clip_image008" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image008" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/2084.clip_image008_thumb_132C1641.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/2084.clip_5F00_image008_5F00_thumb_5F00_132C1641.jpg" width="371" height="263" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;" align="center"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l4 level1 lfo2;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">6.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">When you click <b style="mso-bidi-font-weight: normal;">Start</b>, you are provided some instructions. Click <b style="mso-bidi-font-weight: normal;">Next</b> to start to add the configuration settings within PerfWizard. You are prompted for your support case number and the path of the output log folders. We highly recommend that you store the logs from all servers on a network share to aid the collection process. We also recommend that you store the logs on a nonsystem drive. The following screen shots provide samples of what your input should resemble:       <br style="mso-special-character: line-break;" />      <br style="mso-special-character: line-break;" /></font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/0250.clip_image010_274532CA.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/0250.clip_5F00_image010_5F00_274532CA.jpg"><img title="clip_image010" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image010" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/2043.clip_image010_thumb_0D70FC9B.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/2043.clip_5F00_image010_5F00_thumb_5F00_0D70FC9B.jpg" width="371" height="263" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; list-style-type: disc;" align="center"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/0218.clip_image012_17C220FB.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/0218.clip_5F00_image012_5F00_17C220FB.jpg"><img title="clip_image012" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image012" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/3750.clip_image012_thumb_44D70DC9.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/3750.clip_5F00_image012_5F00_thumb_5F00_44D70DC9.jpg" width="371" height="263" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; list-style-type: disc;" align="center"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/5543.clip_image014_7D1584E1.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/5543.clip_5F00_image014_5F00_7D1584E1.jpg"><img title="clip_image014" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image014" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/3718.clip_image014_thumb_2A2A71B0.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/3718.clip_5F00_image014_5F00_thumb_5F00_2A2A71B0.jpg" width="371" height="264" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; list-style-type: disc;" align="center"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/3821.clip_image016_4D776655.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/3821.clip_5F00_image016_5F00_4D776655.jpg"><img title="clip_image016" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image016" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/1614.clip_image016_thumb_4C9F006B.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/1614.clip_5F00_image016_5F00_thumb_5F00_4C9F006B.jpg" width="371" height="263" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; list-style-type: disc;" align="center"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/4278.clip_image018_79B3ED39.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/4278.clip_5F00_image018_5F00_79B3ED39.jpg"><img title="clip_image018" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image018" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/3323.clip_image018_thumb_2AD327DA.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/3323.clip_5F00_image018_5F00_thumb_5F00_2AD327DA.jpg" width="371" height="263" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; list-style-type: disc;" align="center"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpLast" style="margin: 0in 0in 8pt 0.5in; line-height: 12pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/7457.clip_image020_50C8D830.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/7457.clip_5F00_image020_5F00_50C8D830.jpg"><img title="clip_image020" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image020" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/1031.clip_image020_thumb_3DA7AB84.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/1031.clip_5F00_image020_5F00_thumb_5F00_3DA7AB84.jpg" width="371" height="263" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt 0.25in; list-style-type: disc;"><font style="font-size: 11pt;">A folder named PerfWizard is created and saved to the desktop. This folder contains all the .cmd files that are described in the <span class="MsoHyperlink">File List</span> section. Go to the <a style="cursor: auto;" href="#_Using_the_CMD"><i style="mso-bidi-font-style: normal;">Using the .cmd Files</i></a> section for detailed information about what each of these files does.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt 0.25in; list-style-type: disc;"><font style="font-size: 11pt;">You now have the option to save the results or upload them to the Microsoft website for your Support agent to view. This package collects no data from your system. It only creates the .cmd files to automate the configuring of PerfMon counters. Your Support agent is notified when you upload the results. But the real power of this package comes from the .cmd files themselves.</font></p> <font style="font-size: 12pt;"></font>  <h2 style="margin: 2pt 0in 6pt; line-height: 14pt; clear: none; list-style-type: disc;"><a style="cursor: auto;" name="_Toc368404888"><font style="font-size: 13pt;">Without Internet Access</font></a></h2> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraph" style="margin: 0in 0in 8pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l2 level1 lfo3;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">1.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Follow steps 1 through 4 from the <a style="cursor: auto;" href="#_With_Internet_Access"><i style="mso-bidi-font-style: normal;">With Internet Access</i></a> section,. except that in step 4, select <b style="mso-bidi-font-weight: normal;">A different computer</b>. Leave the check box cleared if you want the diagnostic package to install Windows PowerShell for you, as shown in the following screen shot:</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/5661.clip_image022_6EC6E624.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/5661.clip_5F00_image022_5F00_6EC6E624.jpg"><img title="clip_image022" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image022" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/2068.clip_image022_thumb_66CF43C2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/2068.clip_5F00_image022_5F00_thumb_5F00_66CF43C2.jpg" width="371" height="292" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraph" style="margin: 0in 0in 8pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l2 level1 lfo3;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">2.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Specify a file location in which to save a portable version of PerfWizard. The program is saved as PortableDiagnostic.exe.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/5633.clip_image024_7AE8604B.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/5633.clip_5F00_image024_5F00_7AE8604B.jpg"><img title="clip_image024" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image024" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/7624.clip_image024_thumb_45036B31.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/7624.clip_5F00_image024_5F00_thumb_5F00_45036B31.jpg" width="371" height="290" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraph" style="margin: 0in 0in 8pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l2 level1 lfo3;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">3.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Move PortableDiagnostic.exe to one of the servers on which you want to run PerfWizard. Right-click the file, and then click <b style="mso-bidi-font-weight: normal;">Run as Administrator</b>. You can now follow the rest of the <a style="cursor: auto;" href="#_With_Internet_Access"><i style="mso-bidi-font-style: normal;">With Internet Access</i></a> procedure, starting at step 5.</font></p> <font style="font-size: 12pt;"></font>  <h1 style="margin: 12pt 0in 6pt; line-height: 17pt; clear: none; list-style-type: disc;"><a style="cursor: auto;" name="_Toc368404889"></a><a style="cursor: auto;" name="_Using_the_CMD"></a><span style="mso-bookmark: _toc368404889;"><font style="font-size: 16pt;">Using the .cmd Files</font></span></h1> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">Read the <a style="cursor: auto;" href="#_File_List"><i style="mso-bidi-font-style: normal;">File List</i></a> section to understand each .cmd files that are created. </font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraph" style="margin: 0in 0in 8pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l0 level1 lfo4;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">1.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">We recommend that you enable the <a style="cursor: auto;" href="https://support.microsoft.com/kb/281884"><i style="mso-bidi-font-style: normal;">ProcessNameFormat</i></a> and <a style="cursor: auto;" href="https://technet.microsoft.com/library/cc758993.aspx"><i style="mso-bidi-font-style: normal;">ThreadNameFormat</i></a> registry values before you create PerfMon counters. This makes it much easier to correlate data to specific processes and threads based on their IDs. By default, PerfMon appends a number to each process that has the same name. For example, PerfMon typically creates W3WP_1, W3WP_2, W3WP_3, and so on. When these naming options are enabled, the Process IDs for each process is appended instead. For example, PerfMon creates W3WP_2740, W3WP_4668, W3WP_5672, and so on. </font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt 0.5in; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/8712.clip_image026_2AC3020D.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/8712.clip_5F00_image026_5F00_2AC3020D.jpg"><img title="clip_image026" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image026" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/6505.clip_image026_thumb_1EC111D9.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/6505.clip_5F00_image026_5F00_thumb_5F00_1EC111D9.jpg" width="371" height="94" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l0 level1 lfo4;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">2.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Create the counters. Run the CreateCounters.cmd file to create baseline and incident counters on all the computers on which you are running PerfWizard. For every server that you specified in the server list, you should see a “The command completed successfully” message. If you do not see this message, verify that you have local administrator credentials on each server. LOGMAN requires dynamic RPC ports to be open on the remote server. You might receive “access denied” error messages for this reason in secure environments. In this case, and instead of changing firewall settings, we recommend that you run the .cmd files on each server in the farm to create the counters.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; list-style-type: disc;"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/4863.clip_image028_6FFB5936.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/4863.clip_5F00_image028_5F00_6FFB5936.jpg"><img title="clip_image028" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image028" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/5383.clip_image028_thumb_0ED1CD15.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/5383.clip_5F00_image028_5F00_thumb_5F00_0ED1CD15.jpg" width="477" height="232" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; list-style-type: disc;" align="center"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpLast" style="margin: 0in 0in 8pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l0 level1 lfo4;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">3.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">You can verify that the counters were created by checking directly in PerfMon or by using the “QueryCounters.cmd” script.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/3348.clip_image030_34C77D6B.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/3348.clip_5F00_image030_5F00_34C77D6B.jpg"><img title="clip_image030" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image030" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/8156.clip_image030_thumb_0601C4C9.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/8156.clip_5F00_image030_5F00_thumb_5F00_0601C4C9.jpg" width="477" height="174" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;" align="center"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/6332.clip_image032_1A1AE152.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/6332.clip_5F00_image032_5F00_1A1AE152.jpg"><img title="clip_image032" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image032" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/8015.clip_image032_thumb_19427B68.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/8015.clip_5F00_image032_5F00_thumb_5F00_19427B68.jpg" width="477" height="182" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraph" style="margin: 0in 0in 8pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l0 level1 lfo4;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">4.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">After<span style="mso-spacerun: yes;">&#160; </span>you create the counters on all the appropriate servers, you’re ready to start the baseline counters. These should run continuously so that you have data to compare to for all hours of the week. When you’re ready to start all the counters, run the StartBaselineCounters.cmd file. Again, you can verify that the counters started by checking PerfMon or by running the query file. We recommend that you upload baseline data to your Support agent daily for analysis.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/6371.clip_image034_3C8F700D.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/6371.clip_5F00_image034_5F00_3C8F700D.jpg"><img title="clip_image034" style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image034" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/4336.clip_image034_thumb_22BB39DE.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/4336.clip_5F00_image034_5F00_thumb_5F00_22BB39DE.jpg" width="477" height="173" /></a></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;" align="center"><font style="font-size: 11pt;">&#160;</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l0 level1 lfo4;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">5.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Wait for the issue to occur. When you see the issue, repeat step 3 for the incident counters. Make sure that you stop these counters as soon as the issue stops. These counters have a much higher sample rate, so they’ll occupy more disk space.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpLast" style="margin: 0in 0in 8pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l0 level1 lfo4;"><span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">6.)</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Now that you have baseline data and also data that was collected when the issue was occurring, you can upload the PerfMon logs to your Support agent, who will provide you a link to a secure file transfer. Obtain the PerfMon log files from the location in which you saved them when you ran PerfWizard. Your file list should resemble the following:</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt 0.25in; list-style-type: disc;" align="center"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/6330.clip_image036_08E703AF.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/6330.clip_5F00_image036_5F00_08E703AF.jpg"><img title="clip_image036" style="border: 0px currentcolor; display: inline; background-image: none;" border="0" alt="clip_image036" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/8311.clip_image036_thumb_6F12CD7F.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-48-metablogapi/8311.clip_5F00_image036_5F00_thumb_5F00_6F12CD7F.jpg" width="477" height="86" /></a></span></p> <font style="font-size: 12pt;"></font>  <h1 style="margin: 12pt 0in 6pt; line-height: 17pt; clear: none; list-style-type: disc;"><a style="cursor: auto;" name="_Toc368404890"></a><a style="cursor: auto;" name="_File_List_1"></a><span style="mso-bookmark: _toc368404890;"><font style="font-size: 16pt;">File List</font></span></h1> <font style="font-size: 12pt;"></font>  <p class="MsoNormal" style="margin: 0in 0in 10pt; list-style-type: disc;"><font style="font-size: 11pt;">Several .cmd files are created when you run PerfWizard. Each .cmd file contains batch code that performs a PerfMon operation, such as “start” and “stop.” You can open the .cmd files by using a text editor, such as Notepad, to view the script that will be run. The following table displays the name and descriptions of each file that is generated. Each file is appended by using the Case ID that was entered when you ran PerfWizard. If no value was entered, a random number is used instead.</font></p> <font style="font-size: 12pt;"></font>  <h2 style="margin: 2pt 0in 6pt; line-height: 14pt; clear: none; list-style-type: disc;"><font style="font-size: 13pt;">Generated .cmd Files</font></h2> <font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font>  <table class="GridTable5Dark-Accent11" style="border: currentcolor; list-style-type: disc; border-collapse: collapse; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-yfti-tbllook: 1184; mso-padding-alt: 5.75pt 5.75pt 5.75pt 5.75pt;" cellspacing="0" cellpadding="0" width="100%" border="1"><tbody>     <tr style="height: 0.3in; mso-yfti-irow: -1; mso-yfti-firstrow: yes; mso-yfti-lastfirstrow: yes;">       <td style="background: rgb(91, 155, 213); border-width: 1pt medium 1pt 1pt; border-style: solid none solid solid; border-color: white currentcolor white white; padding: 5.75pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-left-alt: solid white .5pt; mso-border-left-themecolor: background1; mso-border-bottom-alt: solid white .5pt; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1;" height="31" valign="top" width="238"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 5;"><b><span style="mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-themecolor: background1;"><font style="font-size: 12pt;">File Name</font></span></b></p>         <font style="font-size: 12pt;"></font></td>        <td style="background: rgb(91, 155, 213); border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: white white white currentcolor; padding: 5.75pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-bottom-alt: solid white .5pt; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1; mso-border-right-alt: solid white .5pt; mso-border-right-themecolor: background1;" height="31" valign="top" width="449"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 1;"><b><span style="mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-themecolor: background1;"><font style="font-size: 12pt;">Description</font></span></b></p>         <font style="font-size: 12pt;"></font></td>     </tr>      <tr style="height: 0.3in; mso-yfti-irow: 0;">       <td style="background: rgb(91, 155, 213); border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentcolor white white; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-background-themecolor: accent1;" height="31" width="238"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 68;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-weight: bold; mso-themecolor: background1;"><font style="font-size: 11pt;">CreateCounters.cmd</font></span></p>         <font style="font-size: 12pt;"></font></td>        <td style="background: rgb(189, 214, 238); border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentcolor white white currentcolor; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-left-alt: solid white .5pt; mso-border-left-themecolor: background1; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1; mso-border-right-themecolor: background1; mso-background-themetint: 102;" height="31" valign="top" width="449"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 64;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin;"><font style="font-size: 11pt;">Creates both baseline and incident <a style="cursor: auto;" href="https://technet.microsoft.com/en-us/library/cc722414.aspx"><i style="mso-bidi-font-style: normal;">Data Collector Sets</i></a> in PerfMon. After they are created, you can view the Data Collector Sets by opening PerfMon and expanding <b style="mso-bidi-font-weight: normal;">User Defined Data Collector Sets</b>.</font></span></p>         <font style="font-size: 12pt;"></font></td>     </tr>      <tr style="height: 0.3in; mso-yfti-irow: 1;">       <td style="background: rgb(91, 155, 213); border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentcolor white white; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-background-themecolor: accent1;" height="31" width="238"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 4;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-weight: bold; mso-themecolor: background1;"><font style="font-size: 11pt;">EnableProcessNameFormat.cmd</font></span></p>         <font style="font-size: 12pt;"></font></td>        <td style="background: rgb(222, 234, 246); border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentcolor white white currentcolor; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-left-alt: solid white .5pt; mso-border-left-themecolor: background1; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1; mso-border-right-themecolor: background1; mso-background-themetint: 51;" height="31" valign="top" width="449"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin;"><font style="font-size: 11pt;">Sets the <b style="mso-bidi-font-weight: normal;">ProcessNameFormat</b> registry value. This lets Process IDs to be displayed in PerfMon data. For more information, see <a style="cursor: auto;" href="https://support.microsoft.com/kb/281884"><i style="mso-bidi-font-style: normal;">this article</i></a>.</font></span></p>         <font style="font-size: 12pt;"></font></td>     </tr>      <tr style="height: 0.3in; mso-yfti-irow: 2;">       <td style="background: rgb(91, 155, 213); border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentcolor white white; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-background-themecolor: accent1;" height="31" width="238"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 68;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-weight: bold; mso-themecolor: background1;"><font style="font-size: 11pt;">EnableThreadNameFormat.cmd</font></span></p>         <font style="font-size: 12pt;"></font></td>        <td style="background: rgb(189, 214, 238); border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentcolor white white currentcolor; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-left-alt: solid white .5pt; mso-border-left-themecolor: background1; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1; mso-border-right-themecolor: background1; mso-background-themetint: 102;" height="31" valign="top" width="449"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 64;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin;"><font style="font-size: 11pt;">Sets the <b style="mso-bidi-font-weight: normal;">ThreadNameFormat</b> registry value. This lets Thread IDs to be displayed in PerfMon data. For more information see <a style="cursor: auto;" href="https://technet.microsoft.com/library/cc758993.aspx"><i style="mso-bidi-font-style: normal;">this article</i></a>.</font></span></p>         <font style="font-size: 12pt;"></font></td>     </tr>      <tr style="height: 0.3in; mso-yfti-irow: 3;">       <td style="background: rgb(91, 155, 213); border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentcolor white white; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-background-themecolor: accent1;" height="31" width="238"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 4;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-weight: bold; mso-themecolor: background1;"><font style="font-size: 11pt;">DisableProcessNameFormat.cmd</font></span></p>         <font style="font-size: 12pt;"></font></td>        <td style="background: rgb(222, 234, 246); border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentcolor white white currentcolor; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-left-alt: solid white .5pt; mso-border-left-themecolor: background1; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1; mso-border-right-themecolor: background1; mso-background-themetint: 51;" height="31" valign="top" width="449"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin;"><font style="font-size: 11pt;">Removes the <b style="mso-bidi-font-weight: normal;">ProcessNameFormat</b> registry value.</font></span></p>         <font style="font-size: 12pt;"></font></td>     </tr>      <tr style="height: 0.3in; mso-yfti-irow: 4;">       <td style="background: rgb(91, 155, 213); border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentcolor white white; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-background-themecolor: accent1;" height="31" width="238"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 68;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-weight: bold; mso-themecolor: background1;"><font style="font-size: 11pt;">DisableThreadNameFormat.cmd</font></span></p>         <font style="font-size: 12pt;"></font></td>        <td style="background: rgb(189, 214, 238); border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentcolor white white currentcolor; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-left-alt: solid white .5pt; mso-border-left-themecolor: background1; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1; mso-border-right-themecolor: background1; mso-background-themetint: 102;" height="31" valign="top" width="449"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 64;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin;"><font style="font-size: 11pt;">Removes the <b style="mso-bidi-font-weight: normal;">ThreadNameFormat</b> registry value.</font></span></p>         <font style="font-size: 12pt;"></font></td>     </tr>      <tr style="height: 0.3in; mso-yfti-irow: 5;">       <td style="background: rgb(91, 155, 213); border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentcolor white white; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-background-themecolor: accent1;" height="31" width="238"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 4;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-weight: bold; mso-themecolor: background1;"><font style="font-size: 11pt;">StartBaselineCounters.cmd</font></span></p>         <font style="font-size: 12pt;"></font></td>        <td style="background: rgb(222, 234, 246); border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentcolor white white currentcolor; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-left-alt: solid white .5pt; mso-border-left-themecolor: background1; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1; mso-border-right-themecolor: background1; mso-background-themetint: 51;" height="31" valign="top" width="449"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin;"><font style="font-size: 11pt;">Starts all baseline data collectors on all servers that are specified when you run PerfWizard. The baseline counters should run continuously so that there is data against which any changes can be evaluated.</font></span></p>         <font style="font-size: 12pt;"></font></td>     </tr>      <tr style="height: 0.3in; mso-yfti-irow: 6;">       <td style="background: rgb(91, 155, 213); border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentcolor white white; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-background-themecolor: accent1;" height="31" width="238"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 68;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-weight: bold; mso-themecolor: background1;"><font style="font-size: 11pt;">StartIncidentCounters.cmd</font></span></p>         <font style="font-size: 12pt;"></font></td>        <td style="background: rgb(189, 214, 238); border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentcolor white white currentcolor; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-left-alt: solid white .5pt; mso-border-left-themecolor: background1; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1; mso-border-right-themecolor: background1; mso-background-themetint: 102;" height="31" valign="top" width="449"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 64;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin;"><font style="font-size: 11pt;">Starts all incident data collectors on all servers that are specified when you run PerfWizard. The incident counters have a very small sample interval. This means that they record performance data much more frequently than baseline counters. These should run only when the performance issue is occurring, and the performance log file should be monitored to make sure that it does not consume too much disk space.</font></span></p>         <font style="font-size: 12pt;"></font></td>     </tr>      <tr style="height: 0.3in; mso-yfti-irow: 7;">       <td style="background: rgb(91, 155, 213); border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentcolor white white; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-background-themecolor: accent1;" height="31" width="238"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 4;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-weight: bold; mso-themecolor: background1;"><font style="font-size: 11pt;">StopBaselineCounters.cmd</font></span></p>         <font style="font-size: 12pt;"></font></td>        <td style="background: rgb(222, 234, 246); border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentcolor white white currentcolor; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-left-alt: solid white .5pt; mso-border-left-themecolor: background1; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1; mso-border-right-themecolor: background1; mso-background-themetint: 51;" height="31" valign="top" width="449"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin;"><font style="font-size: 11pt;">Stops all baseline data collectors on all servers that are specified when you run PerfWizard.</font></span></p>         <font style="font-size: 12pt;"></font></td>     </tr>      <tr style="height: 0.3in; mso-yfti-irow: 8;">       <td style="background: rgb(91, 155, 213); border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentcolor white white; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-background-themecolor: accent1;" height="31" width="238"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 68;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-weight: bold; mso-themecolor: background1;"><font style="font-size: 11pt;">StopIncidentCounters.cmd</font></span></p>         <font style="font-size: 12pt;"></font></td>        <td style="background: rgb(189, 214, 238); border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentcolor white white currentcolor; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-left-alt: solid white .5pt; mso-border-left-themecolor: background1; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1; mso-border-right-themecolor: background1; mso-background-themetint: 102;" height="31" valign="top" width="449"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 64;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin;"><font style="font-size: 11pt;">Stops all incident data collectors on all servers that are specified when you run PerfWizard.</font></span></p>         <font style="font-size: 12pt;"></font></td>     </tr>      <tr style="height: 0.3in; mso-yfti-irow: 9;">       <td style="background: rgb(91, 155, 213); border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentcolor white white; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-background-themecolor: accent1;" height="31" width="238"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 4;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-weight: bold; mso-themecolor: background1;"><font style="font-size: 11pt;">QueryBaselineCounters.cmd</font></span></p>         <font style="font-size: 12pt;"></font></td>        <td style="background: rgb(222, 234, 246); border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentcolor white white currentcolor; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-left-alt: solid white .5pt; mso-border-left-themecolor: background1; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1; mso-border-right-themecolor: background1; mso-background-themetint: 51;" height="31" valign="top" width="449"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin;"><font style="font-size: 11pt;">Queries the baseline counters on all servers in the farm. Querying the counters provides the following information:</font></span></p>         <font style="font-size: 12pt;"></font>          <p class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; line-height: normal; text-indent: -0.25in; mso-add-space: auto; mso-list: l1 level1 lfo1;"><span style="mso-ascii-font-family: calibri; mso-fareast-font-family: calibri; mso-hansi-font-family: calibri; mso-bidi-font-family: calibri;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">-</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Counter Name</font></p>         <font style="font-size: 12pt;"></font>          <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: normal; text-indent: -0.25in; mso-add-space: auto; mso-list: l1 level1 lfo1;"><span style="mso-ascii-font-family: calibri; mso-fareast-font-family: calibri; mso-hansi-font-family: calibri; mso-bidi-font-family: calibri;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">-</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Status (Running/Stopped)</font></p>         <font style="font-size: 12pt;"></font>          <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: normal; text-indent: -0.25in; mso-add-space: auto; mso-list: l1 level1 lfo1;"><span style="mso-ascii-font-family: calibri; mso-fareast-font-family: calibri; mso-hansi-font-family: calibri; mso-bidi-font-family: calibri;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">-</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Log location</font></p>         <font style="font-size: 12pt;"></font>          <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: normal; text-indent: -0.25in; mso-add-space: auto; mso-list: l1 level1 lfo1;"><span style="mso-ascii-font-family: calibri; mso-fareast-font-family: calibri; mso-hansi-font-family: calibri; mso-bidi-font-family: calibri;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">-</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Interval duration</font></p>         <font style="font-size: 12pt;"></font>          <p class="MsoListParagraphCxSpLast" style="margin: 0in 0in 0pt 0.5in; line-height: normal; text-indent: -0.25in; mso-add-space: auto; mso-list: l1 level1 lfo1;"><span style="mso-ascii-font-family: calibri; mso-fareast-font-family: calibri; mso-hansi-font-family: calibri; mso-bidi-font-family: calibri;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">-</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">List of all counters </font></p>         <font style="font-size: 12pt;"></font></td>     </tr>      <tr style="height: 0.3in; mso-yfti-irow: 10;">       <td style="background: rgb(91, 155, 213); border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentcolor white white; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-background-themecolor: accent1;" height="31" width="238"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 68;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-weight: bold; mso-themecolor: background1;"><font style="font-size: 11pt;">QueryIncidentCounters.cmd</font></span></p>         <font style="font-size: 12pt;"></font></td>        <td style="background: rgb(189, 214, 238); border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentcolor white white currentcolor; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-left-alt: solid white .5pt; mso-border-left-themecolor: background1; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1; mso-border-right-themecolor: background1; mso-background-themetint: 102;" height="31" valign="top" width="449"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 64;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin;"><font style="font-size: 11pt;">Queries the incident counters on all servers in the farm. </font></span></p>         <font style="font-size: 12pt;"></font></td>     </tr>      <tr style="height: 0.3in; mso-yfti-irow: 11;">       <td style="background: rgb(91, 155, 213); border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentcolor white white; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-background-themecolor: accent1;" height="31" width="238"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 4;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-weight: bold; mso-themecolor: background1;"><font style="font-size: 11pt;">DeleteBaselineCounters.cmd</font></span></p>         <font style="font-size: 12pt;"></font></td>        <td style="background: rgb(222, 234, 246); border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentcolor white white currentcolor; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-left-alt: solid white .5pt; mso-border-left-themecolor: background1; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1; mso-border-right-themecolor: background1; mso-background-themetint: 51;" height="31" valign="top" width="449"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin;"><font style="font-size: 11pt;">Deletes all baseline data collectors on all servers that are specified when you run PerfWizard.</font></span></p>         <font style="font-size: 12pt;"></font></td>     </tr>      <tr style="height: 0.3in; mso-yfti-irow: 12; mso-yfti-lastrow: yes;">       <td style="background: rgb(91, 155, 213); border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentcolor white white; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-background-themecolor: accent1;" height="31" width="238"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 68;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-weight: bold; mso-themecolor: background1;"><font style="font-size: 11pt;">DeleteIncidentCounters.cmd</font></span></p>         <font style="font-size: 12pt;"></font></td>        <td style="background: rgb(189, 214, 238); border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentcolor white white currentcolor; padding: 5.75pt; mso-border-alt: solid white .5pt; mso-border-themecolor: background1; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1; mso-border-left-alt: solid white .5pt; mso-border-left-themecolor: background1; mso-border-bottom-themecolor: background1; mso-background-themecolor: accent1; mso-border-right-themecolor: background1; mso-background-themetint: 102;" height="31" valign="top" width="449"><font style="font-size: 12pt;"></font>          <p class="MsoNormal" style="margin: 0in 0in 0pt; mso-yfti-cnfc: 64;"><span style="mso-bidi-font-size: 11.0pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin;"><font style="font-size: 11pt;">Deletes all incident data collectors on all servers that are specified when you run PerfWizard.</font></span></p>         <font style="font-size: 12pt;"></font></td>     </tr>   </tbody></table> <font style="font-size: 12pt;"></font>  <h1 style="margin: 12pt 0in 6pt; line-height: 17pt; clear: none; list-style-type: disc;"><a style="cursor: auto;" name="_Toc368404898"></a><a style="cursor: auto;" name="_PerfWizard_Versions_and_1"></a><span style="mso-bookmark: _toc368404898;"><font style="font-size: 16pt;">Resources</font></span></h1> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l5 level1 lfo6;"><span style="mso-fareast-font-family: symbol; mso-bidi-font-family: symbol;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">·</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Learn about <a style="cursor: auto;" href="https://technet.microsoft.com/library/cc749115.aspx"><i style="mso-bidi-font-style: normal;">Using Performance Monitor</i></a></font><span class="MsoHyperlink"><span style="text-underline: none;"><font style="font-size: 11pt;">.</font></span></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l5 level1 lfo6;"><span style="mso-fareast-font-family: symbol; mso-bidi-font-family: symbol;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">·</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Learn about <a style="cursor: auto;" href="https://technet.microsoft.com/library/cc721865.aspx"><i style="mso-bidi-font-style: normal;">Working with Performance Logs</i></a></font><span class="MsoHyperlink"><span style="text-underline: none;"><font style="font-size: 11pt;">.</font></span></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l5 level1 lfo6;"><span style="mso-fareast-font-family: symbol; mso-bidi-font-family: symbol;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">·</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Check out <a style="cursor: auto;" href="https://blogs.msdn.com/b/mmcintyr/archive/2009/08/18/troubleshooting-moss-wss-performance-issues.aspx"><i style="mso-bidi-font-style: normal;">Mike McIntyre’s blog</i></a> about troubleshooting performance issues in SharePoint environments.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l5 level1 lfo6;"><span style="mso-fareast-font-family: symbol; mso-bidi-font-family: symbol;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">·</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Learn about <a style="cursor: auto;" href="https://blogs.technet.com/b/richard_macdonald/archive/2008/04/08/3032386.aspx"><i style="mso-bidi-font-style: normal;">Manipulating Performance Monitor logs</i></a></font><span class="MsoHyperlink"><span style="text-underline: none;"><font style="font-size: 11pt;">.</font></span></span></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l5 level1 lfo6;"><span style="mso-fareast-font-family: symbol; mso-bidi-font-family: symbol;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">·</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Check out these Microsoft Knowledge Base articles about PerfWizard Diagnostic for more information about these tools.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 1in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-add-space: auto; mso-list: l5 level2 lfo6;"><span style="mso-fareast-font-family: &quot;Courier New&quot;;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">o</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160; </font></span></span></span><a style="cursor: auto;" href="https://support.microsoft.com/kb/2608303"><i style="mso-bidi-font-style: normal;"><font style="font-size: 11pt;">The SharePoint 2007 Performance Monitor Wizard</font></i></a></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 1in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-add-space: auto; mso-list: l5 level2 lfo6;"><span style="mso-fareast-font-family: &quot;Courier New&quot;;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">o</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160; </font></span></span></span><a style="cursor: auto;" href="https://support.microsoft.com/kb/2506823"><i style="mso-bidi-font-style: normal;"><font style="font-size: 11pt;">The SharePoint 2010 Performance Monitor Wizard</font></i></a></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 1in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-add-space: auto; mso-list: l5 level2 lfo6;"><span style="mso-fareast-font-family: &quot;Courier New&quot;;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">o</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160; </font></span></span></span><a style="cursor: auto;" href="https://support.microsoft.com/kb/2838945"><i style="mso-bidi-font-style: normal;"><font style="font-size: 11pt;">The SharePoint 2013 Performance Monitor Wizard</font></i></a></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; mso-list: l5 level1 lfo6;"><span style="mso-fareast-font-family: symbol; mso-bidi-font-family: symbol;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">·</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160; </font></span></span></span><a style="cursor: auto;" href="https://support.microsoft.com/get-support/more/"><i style="mso-bidi-font-style: normal;"><font style="font-size: 11pt;">Open a support ticket</font></i></a><font style="font-size: 11pt;"> with Microsoft Technical Support.</font></p> <font style="font-size: 12pt;"></font>  <p class="MsoListParagraphCxSpLast" style="margin: 0in 0in 8pt 0.5in; line-height: 12pt; text-indent: -0.25in; list-style-type: disc; -ms-text-justify: inter-ideograph; mso-list: l5 level1 lfo6;" align="justify"><span style="mso-fareast-font-family: symbol; mso-bidi-font-family: symbol;"><span style="mso-list: ignore;"><font style="font-size: 11pt;">·</font><span style="line-height: normal; font-size-adjust: none; font-stretch: normal;"><font style="font-size: 7pt;">&#160;&#160;&#160;&#160;&#160; </font></span></span></span><font style="font-size: 11pt;">Learn about <a style="cursor: auto;" href="https://technet.microsoft.com/library/cc753820.aspx"><i style="mso-bidi-font-style: normal;">Logman.exe</i></a>.</font></p> <font style="font-size: 12pt;"></font><font style="font-size: 12pt;"></font>]]></content:encoded>
    </item>
    <item>
      <title>Troubleshooting MOSS/WSS Performance Issues</title>
      <link>https://docs.microsoft.com/archive/blogs/mmcintyr/troubleshooting-mosswss-performance-issues</link>
      <pubDate>Mon, 06 Dec 2010 09:37:46 GMT</pubDate>
      <dc:creator><![CDATA[Mike McIntyre [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mmcintyr/2010/12/06/troubleshooting-mosswss-performance-issues/</guid>
      <description><![CDATA[One of the things that I find myself doing more and more of is troubleshooting performance related...]]></description>
      <content:encoded><![CDATA[<p class="ExternalClassC647593ABE07462D8E6141175AB1AA31">One of the things that I find myself doing more and more of is troubleshooting performance related issues for SharePoint. We’re at the point in the lifecycle of the product where people have it installed, it’s working (for the most part) and they want it to crawl/search/render faster. </p>  <p class="ExternalClassC647593ABE07462D8E6141175AB1AA31">Performance issues, by their very nature, are not (typically) resolved <em>quickly</em>. The process usually involves the gathering of large amounts of disparate data, correlating it, and looking for patterns and anomalies. Strangely, one of our biggest challenges in support is collecting the data in a consistent manner for analysis. </p>  <p class="ExternalClassC647593ABE07462D8E6141175AB1AA31">Over the last year, or so, I’ve come up with a set of instructions that I feel will help streamline not only the collection of the data for analysis by Microsoft but should also serve as a best practice for customers who wish to monitor and tune their own performance. I’ve broken this out as follows:</p>  <div class="ExternalClassC647593ABE07462D8E6141175AB1AA31">   <ul>     <li>Web Front Ends/Query Servers </li>      <li>Index Server(s) </li>      <li>SQL Server(s) </li>      <li>IIS Log Data </li>      <li>ULS Log Data </li>      <li>Event Log Data </li>      <li>Naming conventions to use </li>   </ul>  </div>  <h2>Web Front Ends/Query Servers</h2>  <p><strong>Frequency</strong>: Daily</p>  <p><strong>Detail</strong>:</p>  <p>1. Please ensure that the instructions in <a href="https://support.microsoft.com/kb/281884">https://support.microsoft.com/kb/281884</a> are followed. This will allow for the Process ID value to be included as part of the process monitor data that is being captured.</p>  <p>2. The following counters need to be collected on all web front end and query servers on a daily basis:</p>  <ul>   <li>Web Front End/Query Servers (<strong>WFECounterList_MOSS2007.txt</strong>)       <ul>       <li>\ASP.NET(*)\* </li>        <li>\ASP.NET v2.0.50727\* </li>        <li>\ASP.NET Apps v2.0.50727(*)\* </li>        <li>\.NET CLR Networking(*)\* </li>        <li>\.NET CLR Memory(*)\* </li>        <li>\.NET CLR Exception(*)\* </li>        <li>\.NET CLR Loading(*)\* </li>        <li>\.NET Data Provider for SqlServer(*)\* </li>        <li>\Processor(*)\* </li>        <li>\Process(*)\* </li>        <li>\LogicalDisk(*)\* </li>        <li>\Memory\* </li>        <li>\Network Interface(*)\* </li>        <li>\PhysicalDisk(*)\* </li>        <li>\SharePoint Publishing Cache(*)\* </li>        <li>\System\* </li>        <li>\TCPv4\* </li>        <li>\TCPv6\* </li>        <li>\Web Service(*)\* </li>        <li>\Web Service Cache\* </li>     </ul>   </li>  </ul>  <p>Index Servers (<strong>IDXCounterList_MOSS2007.txt</strong>) </p>  <ul>   <ul>     <li>\ASP.NET(*)\* </li>      <li>\ASP.NET v2.0.50727\* </li>      <li>\ASP.NET Apps v2.0.50727(*)\* </li>      <li>\.NET CLR Networking(*)\* </li>      <li>\.NET CLR Memory(*)\* </li>      <li>\.NET CLR Exception(*)\* </li>      <li>\.NET CLR Loading(*)\* </li>      <li>\.NET Data Provider for SqlServer(*)\* </li>      <li>\Processor(*)\* </li>      <li>\Process(*)\* </li>      <li>\LogicalDisk(*)\* </li>      <li>\Memory\* </li>      <li>\Network Interface(*)\* </li>      <li>\Office Server Search Archival Plugin(*)\* </li>      <li>\Office Server Search Gatherer\* </li>      <li>\Office Server Search Gatherer Project(*)\* </li>      <li>\Office Server Search Indexer Catalogs(*)\* </li>      <li>\Office Server Search Schema Plugin(*)\* </li>      <li>\PhysicalDisk(*)\* </li>      <li>\SharePoint Publishing Cache(*)\* </li>      <li>\Web Service(*)\* </li>      <li>\Web Service Cache\* </li>      <li>\SharePoint Search Archival Plugin(*)\* </li>      <li>\SharePoint Search Gatherer\* </li>      <li>\SharePoint Search Gatherer Project(*)\* </li>      <li>\SharePoint Search Indexer Catalogs(*)\* </li>      <li>\SharePoint Search Schema Plugin(*)\* </li>      <li>\System\* </li>      <li>\TCPv4\* </li>      <li>\TCPv6\* </li>   </ul>  </ul>  <ul>   <li>SQL Servers (<strong>SQLCounterList_MOSS2007.txt</strong>)       <ul>       <li>\.NET Data Provider for SqlServer(*)\* </li>        <li>\Processor(*)\* </li>        <li>\Process(*)\* </li>        <li>\LogicalDisk(*)\* </li>        <li>\Memory\* </li>        <li>\PhysicalDisk(*)\* </li>        <li>\Network Interface(*)\* </li>        <li>\NBT Connection(*)\* </li>        <li>\Server Work Queues(*)\* </li>        <li>\Server\* </li>        <li>\SQLServer:Access Methods\* </li>        <li>\SQLServer:Catalog Metadata(*)\* </li>        <li>\SQLServer:Exec Statistics(*)\* </li>        <li>\SQLServer:Wait Statistics(*)\* </li>        <li>\SQLServer:Broker Activation(*)\* </li>        <li>\SQLServer:Broker/DBM Transport\* </li>        <li>\SQLServer:Broker Statistics\* </li>        <li>\SQLServer:Transactions\* </li>        <li>\SQLAgent:JobSteps(*)\* </li>        <li>\SQLServer:Memory Manager\* </li>        <li>\SQLServer:Cursor Manager By Type(*)\* </li>        <li>\SQLServer:Plan Cache(*)\* </li>        <li>\SQLServer:SQL Statistics\* </li>        <li>\SQLServer:SQL Errors(*)\* </li>        <li>\SQLServer:Databases(*)\* </li>        <li>\SQLServer:Locks(*)\* </li>        <li>\SQLServer:General Statistics\* </li>        <li>\SQLServer:Latches\* </li>        <li>\System\* </li>        <li>\TCPv4\* </li>        <li>\TCPv6\* </li>     </ul>   </li>  </ul>  <p>3. Next, you will want to create text file that contains your counters. I suggest the following:</p>  <ul>   <li>Web Front Ends Server(s)/Query Server - WFECounterList_MOSS2007.txt </li>    <li>Index Server(s) – IDXCounterList_MOSS2007.txt </li>    <li>SQL Server(s) – SQLCounterList_MOSS2007.txt </li>  </ul>  <p>4. From a command line, issue the following command on every web front end in your farm. You will need to change the drive letters &amp; locations, as well as the counter list being used, so that they are appropriate for your environment. <strong><font color="#ff0000"><u>Please use an account that has administrative access to the server in order to ensure that we have access to the appropriate counters.</u></font></strong> Substitute the domain\userid in the appropriate section of the command below. Also, you will be prompted for the password; so, do not enter it on the command line.</p>  <p>The command should resemble the following: </p>  <table border="1" cellspacing="0" cellpadding="0" width="827"><tbody>     <tr>       <td width="132">         <p><b>Baseline counter</b></p>       </td>        <td valign="top" width="693">         <p>logman create counter <font color="#ff0000">Baseline</font> -s %COMPUTERNAME% -o C:\PerfLogs\Baseline_%COMPUTERNAME%.blg -f bin -v mmddhhmm -cf [WFE|IDX|SQL]CounterList_MOSS2007.txt -si 00:01:00 -cnf 12:00:00 -b mm/dd/yyyy hh:mm AM -u &quot;domain\userid&quot; *</p>       </td>     </tr>      <tr>       <td width="132">         <p><b>Incident counter</b></p>       </td>        <td valign="top" width="693">         <p>logman create counter <font color="#ff0000">Incident</font> -s %COMPUTERNAME% -o C:\PerfLogs\Incident_%COMPUTERNAME%.blg -f bin -v mmddhhmm –cf [WFE|IDX|SQL]CounterList_MOSS2007.txt -si 00:00:05 -max 500 -u &quot;domain\userid&quot; *</p>       </td>     </tr>   </tbody></table>  <p>&#160;</p>  <p>5.&#160; We have defined two (2) sets of counters to be used: <font color="#ff0000"><strong>Baseline</strong></font> &amp; <font color="#ff0000"><strong>Incident</strong></font>. The baseline counter should be running 24x7 in the environment. This will allow us to capture baseline performance data so that we have something against which to evaluate any changes. For the purposes of illustration, here is the command to begin collecting data on 08/18/2009 @ 6:00 am in the morning. We will capture 12-hours of data, and then rotate the logs.</p>  <blockquote>   <p><strong>logman create counter Baseline -s %COMPUTERNAME% -o C:\PerfLogs\Baseline_%COMPUTERNAME%.blg -f bin -v mmddhhmm -cf WFECounterList_MOSS2007.txt -si 00:01:00 -cnf 12:00:00 -b 8/18/2009 6:00 AM -u &quot;domain\userid&quot; *</strong></p>  </blockquote>  <p>When an incident occurs, we will need to capture more fine-grained data. For that purpose, we have defined an Incident-based counter to be used. This is identical to the baseline counter except that it samples more frequently. Due to the increased sample rate, it will collect more data faster than the baseline counter. You need to be diligent with respect to maintaining sufficient disk space to accommodate incident-based captures. This counter set should only be used during an incident/outage and only for the minimal time necessary. Once the incident-based data has been collected, you may turn off the incident counters. However, the baseline counters should continue to be run 24x7 until further notice.</p>  <p>In our example above, the sample rate for the Incident counter has been set to every 5 seconds. This is by no means an absolute value and may need to be adjusted depending upon the particular <em>type</em> of performance problem that you are troubleshooting.</p>  <p>To start the incident based counter, issue the following command from a command line prompt: </p>  <blockquote>   <p><b>logman start Incident -s %COMPUTERNAME%</b>. </p>  </blockquote>  <p>If you are starting the counter local to the machine in question, %COMPUTERNAME% will expand to the appropriate value; otherwise, you will need to specify the NetBIOS name of the computer.</p>  <p>6. Assuming a data upload time of 6:00pm (or later), you may have up to three (3) files containing performance data:</p>  <ul>   <li>Baseline_%COMPUTERNAME%_mmddhhmm_001.blg (Yesterday: 6p-6a) </li>    <li>Baseline_%COMPUTERNAME%_mmddhhmm_002.blg (Today: 6a-6p) </li>    <li>Baseline_%COMPUTERNAME%_mmddhhmm_003.blg (Today[new]: 6p-6a) </li>  </ul>  <h2>IIS Log Data Collection</h2>  <p><strong>Frequency</strong>: Daily</p>  <p><strong>Detail</strong>:</p>  <p>On each of the web front ends/query servers, we will want to capture IIS traffic so that we can do a thorough traffic analysis. Our intent is to correlate the IIS traffic with what we’re seeing in the performance data.</p>  <h3>Windows 2003</h3>  <p>1. Start the Internet Information Services (IIS) Manager on each machine. The easiest way to accomplish this via the applet in the a <i>Administrative Tools</i> section of the <i>Start</i> menu     <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image002_2.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image002_2.jpg"><img style="border-width: 0px; display: inline;" title="clip_image002" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image002_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image002_thumb.jpg" width="589" height="274" /></a></p>  <p>2. Open the tree up (on the left hand side) until <i>Web SItes</i> is available. Select and right-click to bring up the <i>Properties</i> pane. This should apply the settings for all of the web sites defined underneath     <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image004_2.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image004_2.jpg"><img style="border-width: 0px; display: inline;" title="clip_image004" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image004_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image004_thumb.jpg" width="426" height="276" /></a></p>  <p>3. Verify that Logging is enabled as well as the w3c Extended Log File Format is specified    <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image006_2.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image006_2.jpg"><img style="border-width: 0px; display: inline;" title="clip_image006" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image006_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image006_thumb.jpg" width="478" height="462" /></a></p>  <p>4. Click on the <i>Properties...</i> button to get to the detail     <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image008_2.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image008_2.jpg"><img style="border-width: 0px; display: inline;" title="clip_image008" border="0" alt="clip_image008" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image008_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image008_thumb.jpg" width="404" height="350" /></a></p>  <p>5. Click on the <i>Advanced</i> tab and make sure that <b><i>ALL</i></b> properties are selected. If you would like to see what each of these fields means, check out the following: <a href="https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/676400bc-8969-4aa7-851a-9319490a9bbb.mspx" target="_blank">W3C Extended Log File Format (IIS 6.0)</a>    <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image010_2.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image010_2.jpg"><img style="border-width: 0px; display: inline;" title="clip_image010" border="0" alt="clip_image010" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image010_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image010_thumb.jpg" width="409" height="361" /></a></p>  <p>6. Once all have been selected, <i>Apply</i> and exit out of the IIS Configuration.</p>  <p>7. At this point, perform an IISReset on each machine. This will force the new log settings to be picked up. I would suggest you visually verify (examine the newest logfile) to make sure that all fields are now being tracked.</p>  <h3>Windows 2008</h3>  <p>1. Start the Internet Information Services (IIS) manager on each machine. The easiest way to accomplish this is via the applet in the <i>Administrative Tools</i> section of the <i>Start</i> menu     <br /><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/7026.image_5EBDF80C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-74-48-metablogapi/7026.image_5F00_5EBDF80C.png"><img style="border: 0px currentcolor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/2555.image_thumb_7EF53C64.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-74-48-metablogapi/2555.image_5F00_thumb_5F00_7EF53C64.png" width="421" height="404" /></a></p>  <p>2. Click on the Machine node in the tree (left hand side). This will bring up the <i>area</i> view in the right hand side. Your display should similar to the following:     <br /><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/4705.image_3E7279E8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-74-48-metablogapi/4705.image_5F00_3E7279E8.png"><img style="border: 0px currentcolor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/5381.image_thumb_13D6990B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-74-48-metablogapi/5381.image_5F00_thumb_5F00_13D6990B.png" width="496" height="359" /></a></p>  <p>3. You will want to double click on the <i>Logging</i> icon to in the <i>IIS </i>section (see diagram above). This will open up the logging options screen     <br /><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/0511.image_21E5623B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-74-48-metablogapi/0511.image_5F00_21E5623B.png"><img style="border: 0px currentcolor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/1680.image_thumb_1432A633.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-74-48-metablogapi/1680.image_5F00_thumb_5F00_1432A633.png" width="414" height="437" /></a></p>  <p>4. Click on the <i>Select Fields</i> button for the format. Make sure that the <i>Format</i> is set to the default value of <i>W3C</i>. Select all fields to be logged and then click on the <i>OK </i>button at the bottom of the dialog box     <br /><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/2185.image_04AF9464.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-74-48-metablogapi/2185.image_5F00_04AF9464.png"><img style="border: 0px currentcolor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/48/metablogapi/7701.image_thumb_620B55E8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-74-48-metablogapi/7701.image_5F00_thumb_5F00_620B55E8.png" width="364" height="436" /></a></p>  <p>5. Exit out of the IIS Manager at this point</p>  <p>6. I would recommend an IISReset on each machine where this change was made. This will force the new log settings to be picked up. I would suggest you visually verify (examine the newest logfile) to make sure that all fields are now being tracked.</p>  <h2>ULS Log Data Collection</h2>  <p><b>Frequency</b>: Daily</p>  <p><b>Detail</b>:</p>  <p>1. From central administration server (TDCUKMWS01), the following series of commands will need to be executed from a DOS command prompt window. It is assumed that MOSS/WSS has been installed in the default location.</p>  <ul>   <li>cd /d %commonprogramfiles%\microsoft shared\web server extensions\12\bin </li>    <li>stsadm -o setlogginglevel -default </li>  </ul>  <p>2. You should see the following messages appear in the command prompt window</p>  <ul>   <li>Updating DiagnosticsService </li>    <li>Updating SPDiagnosticsService </li>    <li>Operation completed successfully </li>  </ul>  <p>3. You will need to verify that the <i>Tracing Service</i> is active and collecting valid data. From the ULS Log folder, scan the directory and ensure the newest 5 files are &gt;10 kilobytes. If they are less, open the newest file and ensure that the only message(s) are <strong><font color="#ff0000">not</font></strong>, “<strong>Tracing Service list trace events. Current value –n</strong>.” If this message appears, restart the tracing service by launching a command prompt on the server and typing ‘<strong>net stop sptrace</strong>’, ensuring the following messages appear:</p>  <ul>   <li>The Windows SharePoint Services Tracing service is stopping. </li>    <li>The Windows SharePoint Services Tracing service was stopped successfully. </li>  </ul>  <p>Once the service is successfully stopped, at the prompt, type ‘<strong>net start sptrace</strong>’, ensuring the following messages appear:</p>  <ul>   <li>The Windows SharePoint Services Tracing service is starting. </li>    <li>The Windows SharePoint Services Tracing service was started successfully. </li>  </ul>  <p>4. Review the newest ULS log, ensuring tracing events are successfully written to the log.</p>  <h2>Event Log Data Collection</h2>  <p><strong>Frequency:</strong> Daily</p>  <p><strong>Detail:</strong></p>  <p>1. On a daily basis, we will need the application &amp; system event logs for the past 24 hours. The simplest way to accomplish this is to use the eventquery.vbs applet that is part of the Operating System on Windows 2003. It is located in %windir%\system32\eventquery.vbs</p>  <p>2. Assuming that the date in question is 04/20/2009, the following command will produce the output that is desired:</p>  <ul>   <li>%windir%/system32/cscript.exe /nologo %windir%\system32\eventquery.vbs /L Application /V /FI &quot;Datetime eq 04/20/09,12:00:00AM-04/20/09,11:59:59PM&quot; /FO CSV &gt; 042009_Application_%COMPUTERNAME%.csv </li>    <li>%windir%/system32/cscript.exe /nologo %windir%\system32\eventquery.vbs /L System /V /FI &quot;Datetime eq 04/20/09,12:00:00AM-04/20/09,11:59:59PM&quot; /FO CSV &gt; 042009_System_%COMPUTERNAME%.csv </li>  </ul>  <p>If the eventquery.vbs is not an option for you, the same thing can be accomplished via the UI as follows:</p>  <p>1) Open the Event View applet and select the appropriate log from the list on the left hand side. In the example show, we will be selecting the Application log; however, the steps are generic enough that they can be applied to any event log.</p>  <p>2) From the menu across the top, select the <i>Filter</i> option     <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image002[5].jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image002[5].jpg"><img style="border-width: 0px; display: inline;" title="clip_image002[5]" border="0" alt="clip_image002[5]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image002[5]_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image002[5]_thumb.jpg" width="292" height="227" /></a></p>  <p>3) We will be selecting the <i>Events On</i> for both the <i>From:</i> and <i>To:</i> portion of the filter. Please modify the dates and time to include the previous 24-hour time period. For example, if today is 04/23/2009, we would see the values as seen below. This will result in all data from the previous day being captured     <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image004[5].jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image004[5].jpg"><img style="border-width: 0px; display: inline;" title="clip_image004[5]" border="0" alt="clip_image004[5]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image004[5]_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image004[5]_thumb.jpg" width="415" height="455" /></a></p>  <p>4) Once the filter criteria has been established, click on the <i>OK</i> button. This will return us to the <i>Event Viewer</i> application. From here, make certain that the Application Log is selected. Right-click and select the <i>Export List...</i> option     <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image006[5].jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image006[5].jpg"><img style="border-width: 0px; display: inline;" title="clip_image006[5]" border="0" alt="clip_image006[5]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image006[5]_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image006[5]_thumb.jpg" width="254" height="333" /></a></p>  <p>5) Export the file in a CSV format using the naming convention: ApplicationLog_%COMPUTERNAME%_MMDDYY.csv   <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image008[6].jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image008[6].jpg"><img style="border-width: 0px; display: inline;" title="clip_image008[6]" border="0" alt="clip_image008[6]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image008[6]_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/TroubleshootingMOSSWSSPerformanceIssues_CA3F/clip_image008[6]_thumb.jpg" width="532" height="383" /></a></p>  <h2>Naming Conventions to Use</h2>  <p>This data should be compressed (either winrar or winzip) and conform to the following naming standards:</p>  <ul>   <li>IIS Logs: IIS_%COMPUTERNAME%_MMDDYY.[ZIP|CAB|RAR] </li>    <li>Application logs: EventLogs_%COMPUTERNAME%_MMDDYY.[ZIP|CAB|RAR] </li>    <li>ULS Logs: ULSLogs_%COMPUTERNAME%_MMDDYY. [ZIP|CAB|RAR] </li>    <li>Performance Logs: Perf_%COMPUTERNAME%_MMDDYY.[ZIP|CAB|RAR] </li>    <li>Misc Logs: Misc_%COMPUTERNAME%_MMDDYY.[ZIP|CAB|RAR] </li>  </ul>  <p>DO NOT attempt to compress the files on the same machine that is responsible for gathering the data. This places an undue burden on the machine and only serves to skew the performance data that is being gathered. We suggest that you perform your compressions &amp; uploads from a machine that is not being actively monitored.</p>  <h2>Summary</h2>  <p>Is this the only way to collect this data? Absolutely not! What I have tried to do here is bring some consistency and uniformity of process to our problem domain. As I said, troubleshooting performance issues is arduous work. Wherever you can simplify tasks, go for it. Hopefully, this will simplify the data collection portion. The <em>fun</em> part is still left to you!</p>  <p>Enjoy!</p>]]></content:encoded>
    </item>
    <item>
      <title>Analyzing IIS Log files using Log Parser – Part 1</title>
      <link>https://docs.microsoft.com/archive/blogs/mmcintyr/analyzing-iis-log-files-using-log-parser-part-1</link>
      <pubDate>Mon, 20 Jul 2009 23:07:00 GMT</pubDate>
      <dc:creator><![CDATA[Mike McIntyre [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mmcintyr/2009/07/20/analyzing-iis-log-files-using-log-parser-part-1/</guid>
      <description><![CDATA[Working with SharePoint, I often find myself in situation where I need to analyze IIS log files in a...]]></description>
      <content:encoded><![CDATA[<p>Working with SharePoint, I often find myself in situation where I need to analyze IIS log files in a variety of ways to understand what kind of load is being placed on the system. In an effort to make this easier for me, and others, I have tried to automate, script, etc., wherever possible. </p>  <p>The first pass that I typically run on the IIS data is to slice the IIS traffic by hour. IIS Logs files record their time in <a href="https://en.wikipedia.org/wiki/UTC" mce_href="https://en.wikipedia.org/wiki/UTC">UTC</a>; however, most people live/operate in a different time zone. In order to make the results more reflective of the actual user environment, you will need to adjust the times, either forward or backwards relative to UTC, to compensate for your particular environment.</p>  <h2>The Scripts</h2>  <p>For ease of use, I typically put my <a href="https://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07" mce_href="https://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07">Log Parser</a> scripts into a file and then reference them via the command line. This has the added advantage of allowing me to pass in arguments from the command line. As I mentioned before, I have two scripts – one for negative offset to UTC and the other for positive offset to UTC.</p>  <p><strong><u>HitsByHourMinusGMT.sql        <br /></u></strong><font color="#0000ff"></font></p>  <pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  1: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  2:     SUB(QUANTIZE(TO_TIMESTAMP(<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=date&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">date</a>, <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=time&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">time</a>), 3600), <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=TIMESTAMP&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">TIMESTAMP</a>(‘%tzoffset%’,’hh:mm’)) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=Hour&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">Hour</a>, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  3:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=COUNT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">COUNT</a>(*) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> Hits 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  4: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=INTO&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">INTO</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  5:     %destination% <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=FROM&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">FROM</a> %source% 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  6: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=GROUP&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">GROUP</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=BY&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">BY</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  7:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=Hour&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">Hour</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  8: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=ORDER&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">ORDER</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=BY&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">BY</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  9:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=Hour&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">Hour</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=ASC&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">ASC</a></pre></pre>

<p><strong><u>HitsByHourPlusGMT.sql 
      <br /></u></strong></p>

<pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  1: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  2:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=ADD&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">ADD</a>(QUANTIZE(TO_TIMESTAMP(<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=date&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">date</a>, <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=time&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">time</a>), 3600), <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=TIMESTAMP&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">TIMESTAMP</a>(‘%tzoffset%’,’hh:mm’)) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=Hour&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">Hour</a>, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  3:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=COUNT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">COUNT</a>(*) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> Hits 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  4: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=INTO&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">INTO</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  5:     %destination% <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=FROM&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">FROM</a> %source% 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  6: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=GROUP&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">GROUP</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=BY&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">BY</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  7:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=Hour&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">Hour</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  8: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=ORDER&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">ORDER</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=BY&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">BY</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  9:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=Hour&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">Hour</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=ASC&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">ASC</a></pre></pre>

<p><strong><u>Traffic.cmd 
      <br /></u></strong></p>

<pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  1: @<span style="color: #0000ff">if</span> /i &quot;<span style="color: #8b0000">%DEBUG%</span>&quot; neq &quot;<span style="color: #8b0000">yes</span>&quot; echo off 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  2: <span style="color: #0000ff">REM</span> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  3: <span style="color: #0000ff">REM</span> Generate data <span style="color: #0000ff">for</span> Traffic analysis 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  4: <span style="color: #0000ff">REM</span> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  5: @<span style="color: #0000ff">SET</span> FileList=090715,090716
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  6: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  7: @<span style="color: #0000ff">SET</span> ServerList=1,2,3,4 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  8: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  9: @ECHO Initializing... 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 10: <span style="color: #0000ff">FOR</span> %%i <span style="color: #0000ff">IN</span> (%ServerList%) <span style="color: #0000ff">DO</span> @<span style="color: #0000ff">IF</span> EXIST %%i.csv DEL %%i.csv /F /Q 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 11: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 12: @ECHO Generating Traffic Analysis <span style="color: #0000ff">For</span> Servers 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 13: <span style="color: #0000ff">FOR</span> %%i <span style="color: #0000ff">IN</span> (%ServerList%) <span style="color: #0000ff">DO</span> @<span style="color: #0000ff">IF</span> EXIST data\*%%i*.<span style="color: #0000ff">log</span> LOGPARSER <span style="color: #0000ff">file</span>:HitsByHourMinusGMT.sql?source=data\*%%i*.<span style="color: #0000ff">log</span>+destination=%%i.csv+tzoffset=&quot;<span style="color: #8b0000">07:00</span>&quot; -i:iisw3c -o:csv 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 14: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 15: @<span style="color: #0000ff">SET</span> FileList= 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 16: @<span style="color: #0000ff">SET</span> ServerList=
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 17: </pre></pre>

<h2>The data</h2>

<p>In order for all of this to work properly, we have to assume a minimum amount of IIS log fields have been captured. Typically, I will recommend that they all be captured. That gives you the most flexibility when it comes to parsing. Also, when I do this, I’m usually analyzing multiple machine simultaneously. In order to do that efficiently, there has to be some type of naming scheme in use to differentiate the various log files from one another. It may be as simple as adding the server name/number to the beginning/end of the filename. In our example, we have the following:</p>

<ul>
  <li>ex<font color="#ff0000">090715</font><font color="#8000ff">1</font>.log </li>

  <li>ex<font color="#ff0000">090715</font><font color="#800080">2</font>.log </li>

  <li>ex<font color="#ff0000">090715</font><font color="#800080">3</font>.log </li>

  <li>ex<font color="#ff0000">090715</font><font color="#800080">4</font>.log </li>
</ul>

<p>Let’s break this name down just a bit.</p>

<ul>
  <li><font color="#ff0000">090715</font> – yymmdd that the logfile as captured </li>

  <li><font color="#800080">1,2,3,4</font> – indicates server1, server2, server3, and server4. It could have just as easily been the server name </li>
</ul>

<h2>The command line</h2>

<p>For the purposes of this example, I’m going to assume that the servers we’re getting data from are located in Redmond, WA (where else :-)). That is an offset of <a href="https://www.timeanddate.com/library/abbreviations/timezones/na/pst.html" mce_href="https://www.timeanddate.com/library/abbreviations/timezones/na/pst.html">UTC-7</a> hours. Also, to make things a bit easier, I want to generate a file per machine. So, the command would resemble the following:</p>

<p>logparser file:HitsByHourMinusGMT.sql?source=ex0907151.log+destination=1.csv+tzoffset=”07:00” –i:IISW3C –o:csv</p>

<p>logparser file:HitsByHourMinusGMT.sql?source=ex0907152.log+destination=2.csv+tzoffset=”07:00” –i:IISW3C –o:csv</p>

<p>logparser file:HitsByHourMinusGMT.sql?source=ex0907153.log+destination=3.csv+tzoffset=”07:00” –i:IISW3C –o:csv</p>

<p>logparser file:HitsByHourMinusGMT.sql?source=ex0907154.log+destination=4.csv+tzoffset=”07:00” –i:IISW3C –o:csv</p>

<p>This will create 4 csv files that contain data for each server. What if we had a lot of days and multiple servers? This approach would get a bit tiresome. Let’s leverage the command line a little bit more to do the heavy lifting.</p>

<p>I have multiple days worth of data in a folder called, appropriately enough, <strong>data</strong>.</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_12.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_12.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_12.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_5.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_5.png" width="644" height="452" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_5.png" /></a> </p>

<p>By modifying the FileList variable in the Traffic.cmd script, I can account for all them. Now, if I simply run the Traffic.cmd script from the command line, it generates a csv file per server. The output should look something similar to the following:</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_14.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_14.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_14.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_6.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_6.png" width="644" height="135" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_6.png" /></a> </p>

<p>If we look at the contents of one of these files, we see the following:</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_16.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_16.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_16.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_7.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_7.png" width="134" height="244" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_7.png" /></a> </p>

<p>This is a breakdown, by hour, of the number of hits that this server received. A hit is defined as anything that generates a line in the IIS Log file.</p>

<h2>Now what?</h2>

<p>Well, we’ve got all these raw numbers that we need to do something with. Let’s pull them into Excel and graph them to see if we can see anything that interests us.</p>

<p>Let’s create a simple spreadsheet that contains a summary of all of the data. I like to break it out by server, by date, etc. </p>

<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_8.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_8.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_8.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_3.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_3.png" width="644" height="306" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_3.png" /></a> </p>

<p>As you can see, down the first column are the times (localized to the server timezone), and then the hits/hour for each day for each server. So now what? This is good information (I think) but what do I do with it? Well, you use Excel to do what Excel does best – you create some graphs so that you can see patterns in the data. In this case, the graphing could not be simpler. We are simply going to create line graphs per server/per day.</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_10.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_10.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_10.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_4.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_4.png" width="1024" height="267" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_4.png" /></a></p>

<p>Let’s talk about some of things that these graphs are telling us:</p>

<ul>
  <li>On 8-Jul-09, Server 01 was bearing most of the load peaking at close to 900K hits/hour. This load appears to be fairly well distributed across the normal business hours of the day and represents what you would expect to see. </li>

  <li>Assuming that the farm in question is <em>well balanced</em>, you would expect to see similar traffic across each node throughout the course of the day. That is not what you are seeing. Clearly, on 8-Jul-09, Server 01 &amp; Server 02 are shouldering most of the traffic. On 15-Jul-09, Server 04 is getting a large spike in traffic in the early morning hours before leveling out for the remainder of the day. The farm appears to be better balanced; however, we still have some unexplained spiking that bears further investigation </li>
</ul>

<p>Another view that I find useful is to look at the aggregate traffic per day per hour across the farm to get an idea of what daily traffic patterns look like. All things being equal, I would expect to see roughly the same <em>type</em> of pattern during weekdays, a decline during the weekend, etc. </p>

<p mce_keep="true">&#160;</p>

<p mce_keep="true">&#160;</p>

<p mce_keep="true">&#160;</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_22.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_22.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_22.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_10.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_10.png" width="644" height="341" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/AnalyzingIISLogfilesusingLogParserPart1_12FB6/image_thumb_10.png" /></a> </p>

<p mce_keep="true">&#160;</p>

<p mce_keep="true">&#160;</p>

<p>There are several notable areas of interest that warrant further investigation</p>

<ol>
  <li>Why do we see such a massive peak here? It’s not only uncharacteristic but it is also, presumably, in the early, pre-business hours. What is generating such a heavy load on the farm? </li>

  <li>Again, we have another uncharacteristic peak during the middle of the day. Normally, this wouldn’t cause too much concern; however, when you look at compared against the other days, it really stands out. Why? Did the server experience larger than expected traffic? Did it go live on that day? </li>

  <li>If we look at these days together, the pattern looks normal. A gentle rise, levels off for a bit, and then declines. This is the pattern I would expect to see during a normal business day. However, this traffic begins to increase around 3:30am. levels off about 6:30am and then starts to decline around 1:00pm. This is an atypical traffic pattern as compared to the other days </li>
</ol>

<p>Something to keep in mind while you’re analyzing this type of data is patterns. Patterns are very difficult to discern from a small dataset; so, the more data you have to analyze/graph, the better.</p>

<p>In the next installment, I will take a look at dissecting the IIS logs by unique users/IP addresses to see who is doing what where.</p>

<p>Enjoy!</p>]]></content:encoded>
    </item>
    <item>
      <title>Mine the ULS logs for query latency - Redux</title>
      <link>https://docs.microsoft.com/archive/blogs/mmcintyr/mine-the-uls-logs-for-query-latency-redux</link>
      <pubDate>Tue, 09 Jun 2009 16:37:00 GMT</pubDate>
      <dc:creator><![CDATA[Mike McIntyre [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mmcintyr/2009/06/09/mine-the-uls-logs-for-query-latency-redux/</guid>
      <description><![CDATA[I was reading a blog posting from Dan Blood, Sr. Test Engineer at Microsoft, on how to mine the ULS...]]></description>
      <content:encoded><![CDATA[<p>I was reading a blog posting from <a href="https://blogs.msdn.com/enterprisesearch/archive/2008/09/02/how-to-mine-the-uls-logs-for-query-latency.aspx" mce_href="https://blogs.msdn.com/enterprisesearch/archive/2008/09/02/how-to-mine-the-uls-logs-for-query-latency.aspx">Dan Blood, Sr. Test Engineer at Microsoft, on how to mine the ULS logs for query latency</a>. If you haven’t read the post yet, I encourage you to do so. It has a wealth of information in it.</p>  <p>I was recently working a similar issue where I needed to do this exact thing and I discovered a couple of <em>improvements</em> that I’d like to share on the process that Dan has put together. I think it will help simplify.</p>  <p>When running Dan’s script against a sizeable amount of ULS data, I found that it produced a tremendous amount of data. Later in the analysis portion, that data will be grouped by hour; so, I decided to be a bit proactive and do it up front. Here’s the modified logparser script that I used.</p>  <p><strong><u>ULSQueryLatency.sql </u></strong></p>  <pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  1: <span style="color: #008000">-- </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  2: <span style="color: #008000">-- logparser file:ULSQueryLatency.sql?source=*.log+destination=Latency.csv -i:TSV -oCodepage:-1 -iTsFormat:&quot;MM/dd/yyyy hh:mm:ss.ll&quot; -fixedSep:ON -o:csv </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  3: <span style="color: #008000">-- </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  4: <span style="color: #008000">-- To restrict to start/end hours of the day, uncomment the </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  5: <span style="color: #008000">-- QUANTIZE statements in the WHERE clause and </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  6: <span style="color: #008000">-- pass in the startofday and endofday value. For example, </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  7: <span style="color: #008000">-- </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  8: <span style="color: #008000">-- logparser file:ULSQueryLatency.sql?source=*.log+destination=Latency.csv+startofday=&quot;08:00:00&quot;+endofday=&quot;18:00:00&quot; -i:TSV -oCodepage:-1 -iTsFormat:&quot;MM/dd/yyyy hh:mm:ss.ll&quot; -fixedSep:ON -o:csv </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  9: <span style="color: #008000">-- </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 10: <span style="color: #008000">-- </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 11: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 12:     QUANTIZE(<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=Timestamp&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">Timestamp</a>, 3600) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=Hour&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">Hour</a>, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 13:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AVG&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AVG</a>(TO_REAL(Extract_token(Message, 7, '<span style="color: #8b0000"> </span>'))) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> TotalQPTime, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 14:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AVG&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AVG</a>(TO_REAL(Extract_token(Message, 8, '<span style="color: #8b0000"> </span>'))) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> v2, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 15:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AVG&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AVG</a>(TO_REAL(Extract_token(Message, 9, '<span style="color: #8b0000"> </span>'))) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> v3, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 16:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AVG&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AVG</a>(TO_REAL(Extract_token(Message,10, '<span style="color: #8b0000"> </span>'))) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> v4, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 17:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AVG&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AVG</a>(TO_REAL(Extract_token(Message,11, '<span style="color: #8b0000"> </span>'))) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> TimeSpentInIndex, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 18:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SUM&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SUM</a>(TO_REAL(Extract_token(Message,12, '<span style="color: #8b0000"> </span>'))) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> v6, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 19:     SUB(v4, TimeSpentInIndex) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> JoinTime, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 20:     SUB(v3, v4) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> SecurityTrimmingTime, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 21:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CASE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CASE</a> v2 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 22:         <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=WHEN&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">WHEN</a> 0.0 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 23:             <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=THEN&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">THEN</a> 0.0 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 24:         <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=ELSE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">ELSE</a> SUB(v2, v3) 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 25:    <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=END&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">END</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> DuplicateDetectionTime, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 26:     SUB(TotalQPTime, v2) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> FetchTime 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 27: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=FROM&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">FROM</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 28:     %source% <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=TO&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">TO</a> %destination% 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 29: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=WHERE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">WHERE</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 30:     Category = '<span style="color: #8b0000">MS Search Query Processor</span>' <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AND&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AND</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 31:     Message <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=LIKE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">LIKE</a> '<span style="color: #8b0000">%Completed query execution with timings:%</span>' 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 32: <span style="color: #008000">--    AND </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 33: <span style="color: #008000">--    ( </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 34: <span style="color: #008000">--        QUANTIZE(TO_TIME(Timestamp), 3600) &gt;= TIMESTAMP('%startofday%', 'hh:mm:ss') AND </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 35: <span style="color: #008000">--        QUANTIZE(TO_TIME(Timestamp), 3600) &lt;= TIMESTAMP('%endofday%',   'hh:mm:ss') </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 36: <span style="color: #008000">--    ) </span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 37: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=GROUP&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">GROUP</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=BY&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">BY</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=Hour&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">Hour</a></pre></pre>

<p>&#160;</p>

<p>Now, in my particular situation I needed to run this against several servers and report on their query latency individually. If this isn’t a requirement for you, then no need to spend the additional time.</p>

<p>Being the lazy sort that I am, I put together a little command script to handle the heavy lifting. The following assumptions are made:</p>

<ul>
  <li>ULS logs are located in a folder and are in the standard named form of %COMPUTERNAME%-yyyymmdd-hhmm.log </li>

  <li>I have placed my logparser scripts in a folder that is referenced via the %LPQ% environment variable </li>
</ul>

<p><strong><u>SearchLatency.cmd </u></strong></p>

<pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  1: @<span style="color: #0000ff">if</span> /i &quot;<span style="color: #8b0000">%DEBUG%</span>&quot; neq &quot;<span style="color: #8b0000">yes</span>&quot; echo off 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  2: <span style="color: #0000ff">REM</span> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  3: <span style="color: #0000ff">REM</span> Generate data <span style="color: #0000ff">for</span> Search Latency analysis 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  4: <span style="color: #0000ff">REM</span> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  5: @<span style="color: #0000ff">SET</span> ServerList=<span style="color: #0000ff">SERVER</span>01,<span style="color: #0000ff">SERVER</span>03,<span style="color: #0000ff">SERVER</span>04,<span style="color: #0000ff">SERVER</span>05 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  6: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  7: @ECHO Initializing... 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  8: <span style="color: #0000ff">FOR</span> %%i <span style="color: #0000ff">IN</span> (%ServerList%) <span style="color: #0000ff">DO</span> @<span style="color: #0000ff">IF</span> EXIST %%i-SearchLatency.csv DEL %%i-SearchLatency.csv /F /Q 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  9: @<span style="color: #0000ff">IF</span> EXIST SearchResultsDetail.csv DEL SearchResultsDetail.csv /F /Q 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 10: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 11: @<span style="color: #0000ff">IF</span> EXIST data\*.<span style="color: #0000ff">LOG</span> LOGPARSER <span style="color: #0000ff">file</span>:%lpq%\SearchResultsDetail.sql?source=data\*.<span style="color: #0000ff">log</span>+destination=SearchResultsDetail.csv -i:iisw3c -o:csv 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 12: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 13: <span style="color: #0000ff">FOR</span> %%i <span style="color: #0000ff">IN</span> (%ServerList%) <span style="color: #0000ff">DO</span> @<span style="color: #0000ff">IF</span> EXIST ULSLogs\%%i*.<span style="color: #0000ff">log</span> LOGPARSER <span style="color: #0000ff">file</span>:%lpq%\ULSQueryLatency.sql?source=ULSLogs\%%i*.<span style="color: #0000ff">log</span>+destination=%%i-SearchLatency.csv -i:TSV -iCodepage:-1 -iTsFormat:&quot;<span style="color: #8b0000">MM/dd/yyyy hh:mm:ss.ll</span>&quot; -fixedSep:<span style="color: #0000ff">ON</span> -o:csv 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 14: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 15: @<span style="color: #0000ff">SET</span> FileList= 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 16: @<span style="color: #0000ff">SET</span> NumberOfSteps= 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 17: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 18: @ECHO Complete!
</pre></pre>

<p><strong><u>
      <br /></u></strong>This will produce a series of csv files, one per server, which can be easily imported into Excel. They should look something like the following:</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb.png" width="644" height="83" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb.png" /></a> </p>

<p>You will note that it is grouped by hour instead of by data point as Dan’s script does. This allows me to handle larger data sets and generate a consistent amount of output data. Since we were going to end up grouping by hour in Excel, I decided to do it here instead :-). </p>

<h3>How do I generate the pretty graph?</h3>

<p>So, we’ve got the csv file…what do we do now? This is where the fun comes. We’re going to construct a pivot chart like the one Dan does. Since I had to figure out how to do this, I thought I’d share the process.</p>

<p>1. After importing the csv file into Excel, I typically will convert it to a table so that I can reference it by name as well as making it easier to read. 
  <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_4.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_4.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_4.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_1.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_1.png" width="644" height="185" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_1.png" /></a> </p>

<p align="left">2. Next, let’s convert the Hour column into a more pleasing format. We do this by selecting the column and picking a custom format: 
  <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_6.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_6.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_6.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_2.png" width="244" height="188" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_2.png" /></a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_8.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_8.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_8.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_3.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_3.png" width="161" height="244" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_3.png" /></a></p>

<p>3. Next, we’re going to create a PivotChart 
  <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_10.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_10.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_10.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_4.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_4.png" width="188" height="170" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_4.png" /></a> </p>

<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_12.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_12.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_12.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_5.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_5.png" width="244" height="171" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_5.png" /></a> </p>

<p mce_keep="true">&#160;</p>

<p>Let’s go ahead and let it go to a new worksheet. This will give us room to work.</p>

<p>4. We’re going to drag the following fields to the Pivot</p>

<ul>
  <li><strong>Values</strong> 

    <ul>
      <li>TimeSpentInIndex </li>

      <li>JoinTime </li>

      <li>SecurityTrimmingTime </li>

      <li>DuplicateDetectionTime </li>

      <li>FetchTime </li>
    </ul>
  </li>

  <li><strong>Axis Fields (Categories)</strong> 

    <ul>
      <li>Hour </li>
    </ul>
  </li>
</ul>

<p>When you’re done, it should look something like this: 
  <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_16.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_16.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_16.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_7.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_7.png" width="244" height="174" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_7.png" /></a> </p>

<p mce_keep="true">&#160;</p>

<p>It should have also created a graph that looks like this (not quite what we’re after… yet) 
  <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_18.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_18.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_18.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_8.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_8.png" width="644" height="253" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_8.png" /></a></p>

<p>5. Next, we want to change up the grouping just a bit so that we can see by day/by hour detail. So, from the Pivot Table data, we’re going to select the Hour data and right-click to group the data. 
  <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_20.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_20.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_20.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_9.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_9.png" width="195" height="244" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_9.png" /></a> </p>

<p>6. Next, we’re going to group by Days and Hours. This will change our our display and our graph slightly 
  <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_22.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_22.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_22.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_10.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_10.png" width="644" height="306" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_10.png" /></a> 

  <br /></p>

<p>7. Next, let’s change the chart type from line to stacked bar. This should give us the following 
  <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_24.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_24.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_24.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_11.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_11.png" width="701" height="373" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_11.png" /></a> 

  <br />8. Next, let’s modify the legends to Avg instead of Sum. Also, we’re going to move the legends below the graph for easier viewing, and fix it up with some titles. What we’re left with is a lot more readable :-) 

  <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_26.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_26.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_26.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_12.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_12.png" width="644" height="379" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/MinetheULSlogsforquerylatencyRedux_DB8F/image_thumb_12.png" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>How to quickly compare file version information across your MOSS farm</title>
      <link>https://docs.microsoft.com/archive/blogs/mmcintyr/how-to-quickly-compare-file-version-information-across-your-moss-farm</link>
      <pubDate>Tue, 09 Jun 2009 12:27:00 GMT</pubDate>
      <dc:creator><![CDATA[Mike McIntyre [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mmcintyr/2009/06/09/how-to-quickly-compare-file-version-information-across-your-moss-farm/</guid>
      <description><![CDATA[6/1/2009, 5:10 PM     I often find myself in a situation where I need to quickly compare multiple...]]></description>
      <content:encoded><![CDATA[<ol>   <p>6/1/2009, 5:10 PM </p>    <p>I often find myself in a situation where I need to quickly compare multiple servers to determine if the same version of the product has been installed on all machines. The easiest way to do this, at least for me, involves:</p>    <ol>     <li>SPSReport (<a href="https://www.codeplex.com/spsreport">https://www.codeplex.com/spsreport</a>) </li>      <li>Log Parser (<a title="https://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;displaylang=en" href="https://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;displaylang=en">https://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;displaylang=en</a>) </li>      <li>Excel pivot table </li>   </ol>    <p>First, you want to obtain an SPSReport (LITE) from all of the servers in question. You are primarily concerned with the following files:</p>    <ul>     <li>%COMPUTERNAME%_WSEVer.txt (WSS) </li>      <li>%COMPUTERNAME%_MOSSVer.txt (MOSS) </li>      <li>%COMPUTERNAME%_GacVer.txt (GAC) </li>   </ul>    <p>Using the following Log Parser script and command, I am able to quickly generate version data for each:</p>    <pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  1: <span style="color: #008000">--</span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  2: <span style="color: #008000">-- Logparser file:SPSReportFilever.sql?source=Server1_WSEVer.txt,Server2_WSEVer.txt+destination=WSEVer.csv -i:TEXTLINE -o:CSV</span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  3: <span style="color: #008000">--</span>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  4: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  5: 	SUBSTR(<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=TEXT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">TEXT</a>, 22, 14) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> FileVersion,
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  6: 	LTRIM(SUBSTR(<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=TEXT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">TEXT</a>, 41, 10)) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> FileSize,
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  7: 	SUBSTR(<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=TEXT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">TEXT</a>, 52, 10) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> FileDate,
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  8: 	SUBSTR(<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=TEXT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">TEXT</a>, 63) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> FileName,
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  9: 	EXTRACT_TOKEN(EXTRACT_TOKEN(EXTRACT_FILENAME(LogFilename),0,'<span style="color: #8b0000">.</span>'),0,'<span style="color: #8b0000">_</span>') <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AS</a> ComputerName
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 10: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=FROM&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">FROM</a>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 11: 	%source% <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=TO&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">TO</a> %destination%
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 12: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=WHERE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">WHERE</a>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 13: 	INDEX_OF(<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=TEXT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">TEXT</a>,'<span style="color: #8b0000">-</span>') = 0
</pre></pre>

  <p>Save the above script in a file. Let's call it SPSReportFilever.sql. You will want to execute the following command from a DOS prompt for each grouping: WSS, MOSS, and GAC:</p>

  <p>Logparser file:SPSReportFilever.sql?source=Server1_WSEVer.txt,Server2_WSEVer.txt+destination=WSEVer.txt -i:TEXTLINE -o:CSV</p>

  <p>This, in turn, will produce a csv file with the following content:</p>

  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image001_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image001_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image001_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image001" border="0" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image001_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image001_thumb.png" width="460" height="176" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image001_thumb.png" /></a></p>

  <p>This will allow us to easily import this into an Excel spreadsheet and then perform a simple pivot operation. </p>

  <li>Import the csv into excel&#160; <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image002_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image002_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image002_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image002_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image002_thumb.png" width="511" height="130" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image002_thumb.png" /></a></p>
  </li>

  <li>Now, let's Format as Table to make it easier to view, sort, etc. 
    <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image003_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image003_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image003_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image003" border="0" alt="clip_image003" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image003_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image003_thumb.png" width="509" height="161" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image003_thumb.png" /></a></p>
  </li>

  <li>Now, we're going to create a pivot table to arrange the data into an even easier format to see what versions are installed where 
    <ol>
      <li>Create PivotTable </li>
    </ol>

    <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image004_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image004_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image004_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image004" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image004_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image004_thumb.png" width="244" height="179" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image004_thumb.png" /></a></p>

    <ol>
      <li>Next drag the fields according to the following<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/image_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/image_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/image_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/image_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/image_thumb.png" width="232" height="254" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/image_thumb.png" /></a> </li>

      <li>This gives us a pivot table that looks like the following. However, we still have some slight adjustments to make to it <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image006_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image006_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image006_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image006" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image006_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image006_thumb.png" width="440" height="115" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image006_thumb.png" /></a> </li>

      <li>Next, we want to add some additional detail. Double-click on the one of the FileNames on the right. A dialog will appear asking what detail you would like to show. Select FileVersion and hit OK<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image007_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image007_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image007_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image007" border="0" alt="clip_image007" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image007_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image007_thumb.png" width="244" height="173" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image007_thumb.png" /></a> </li>

      <li>This results in a change on the left side. Now, all of the FileNames have a version number under each of them. Now, let's make a couple of adjustments to make things easier to view 
        <ol>
          <li>Remove the Grand Total column <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image008_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image008_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image008_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image008" border="0" alt="clip_image008" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image008_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image008_thumb.png" width="244" height="127" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image008_thumb.png" /></a> </li>
        </ol>
      </li>

      <li>Freeze Panes to allow us to see the server name and file name <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image009_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image009_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image009_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image009" border="0" alt="clip_image009" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image009_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image009_thumb.png" width="460" height="244" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image009_thumb.png" /></a> </li>

      <li>Now, let's expand one of the File Names. In our example, we choose microsoft.office.excel.server.webservices.dll. We see the following:<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image010_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image010_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image010_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image010" border="0" alt="clip_image010" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image010_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image010_thumb.png" width="457" height="57" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image010_thumb.png" /></a> </li>
    </ol>

    <p>This tells us that the same version of this dll is installed on all of servers in our farm. What if it had not been? What would that look like?</p>

    <ol>
      <li>As can be seen from the same procedure on the MOSS file versions, we have a situation where one of the servers did not receive the appropriate updates <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image011_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image011_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image011_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image011" border="0" alt="clip_image011" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image011_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image011_thumb.png" width="441" height="77" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howtoquicklycomparefileversioninformatio_A0C9/clip_image011_thumb.png" /></a> </li>
    </ol>

    <blockquote>
      <p>As we see here, SERVER2 is running a version of mssrch.dll that is significantly behind the version that is running on all of the other machines in the farm. Further investigation reveals that the SERVER2 did not have the MOSS April 2009 CU applied to it while other machines in the farm DID have the April 2009 CU applied. We applied the MOSS April 2009 CU to SERVER2 and our issues were resolved</p>
    </blockquote>
  </li>
</ol>]]></content:encoded>
    </item>
    <item>
      <title>Enumerating items counts in lists</title>
      <link>https://docs.microsoft.com/archive/blogs/mmcintyr/enumerating-items-counts-in-lists</link>
      <pubDate>Mon, 01 Dec 2008 09:34:00 GMT</pubDate>
      <dc:creator><![CDATA[Mike McIntyre [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mmcintyr/2008/12/01/enumerating-items-counts-in-lists/</guid>
      <description><![CDATA[Recently, we found ourselves in a situation where we suspected that the customer had exceeded our...]]></description>
      <content:encoded><![CDATA[<ol>   <p>Recently, we found ourselves in a situation where we suspected that the customer had exceeded our capacity planning guidelines for the number of items in a document library; however, how do we go about verifying that? Well, the steps below will walk you through how to enumerate the counts for the different folders. You have the ability to set a threshold value and report on everything that exceeds that threshold. </p>    <p>Enjoy! </p>    <li>Connect to the SQL server via Microsoft SQL Server Management Studio (SQL 2005) or Query Analyzer (SQL 2000)      <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image001_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image001_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image001_2.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image001_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image001_thumb.png" width="337" height="263" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image001_thumb.png" /></a></p>   </li>    <li>Once connected, open a query window      <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image002_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image002_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image002_2.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image002_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image002_thumb.png" width="326" height="241" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image002_thumb.png" /></a></p>   </li>    <li>Once you have a query window open, make sure the master database is selected:      <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image003_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image003_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image003_2.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="clip_image003" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image003_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image003_thumb.png" width="336" height="185" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image003_thumb.png" /></a></p>   </li>    <li>Once you have a query window open, paste the following SQL query:      <pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  1: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=create&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">create</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=table&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">table</a> ##Largelists
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  2: (
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  3:     [listID] <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=uniqueidentifier&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">uniqueidentifier</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=NULL&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">NULL</a>,
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  4:     [siteID] <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=uniqueidentifier&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">uniqueidentifier</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=null&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">null</a>,
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  5:     [webid] <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=uniqueidentifier&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">uniqueidentifier</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=null&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">null</a>,
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  6:     [counts] <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=bigint&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">bigint</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=NULL&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">NULL</a>,
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  7:     [fullurl] <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=nvarchar&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">nvarchar</a>(255) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=NULL&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">NULL</a>,
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  8:     [dirname] <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=nvarchar&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">nvarchar</a>(255) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=null&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">null</a>,
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  9:     [tp_title] <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=nvarchar&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">nvarchar</a>(255) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=NULL&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">NULL</a>,
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 10:     [servername] <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=nvarchar&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">nvarchar</a>(100) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=null&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">null</a>,
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 11:     [content_DB] <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=nvarchar&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">nvarchar</a>(100) <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=null&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">null</a>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 12: )
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 13: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 14: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=go&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">go</a>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 15: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CREATE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CREATE</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=TABLE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">TABLE</a> #DBNamesLL
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 16: (
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 17:     DatabaseName <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=VARCHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">VARCHAR</a>(800),
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 18:     RecStatus <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=INT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">INT</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=Default&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">Default</a> 0
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 19: )
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 20: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 21: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=DECLARE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">DECLARE</a> @cmdStr <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=NVARCHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">NVARCHAR</a>(2000)
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 22: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=DECLARE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">DECLARE</a> @dbName <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=VARCHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">VARCHAR</a>(500)
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 23: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=INSERT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">INSERT</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=INTO&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">INTO</a> #DBNamesll (DatabaseName)
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 24: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 25:     [Name] 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 26: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=FROM&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">FROM</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 27:     sys.databases 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 28: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=WHERE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">WHERE</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 29:     state_desc = '<span style="color: #8b0000">online</span>'
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 30: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=ORDER&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">ORDER</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=BY&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">BY</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 31:     [Name] <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=ASC&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">ASC</a>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 32: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 33: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=WHILE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">WHILE</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=EXISTS&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">EXISTS</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 34:     (<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 35:         * 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 36:      <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=FROM&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">FROM</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 37:         #DBNamesLL 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 38:      <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=WHERE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">WHERE</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 39:         RecStatus=0
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 40:     )
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 41: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 42: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=BEGIN&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">BEGIN</a>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 43:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=TOP&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">TOP</a> 1 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 44:         @DbName = DatabaseName
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 45:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=FROM&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">FROM</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 46:         #DBNamesLL
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 47:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=WHERE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">WHERE</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 48:         RecStatus = 0
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 49:     
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 50:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> @cmdStr = N'<span style="color: #8b0000">USE </span>' + quotename(@dbName, '<span style="color: #8b0000">[</span>') + N'<span style="color: #8b0000">;</span>'
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 51:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> @cmdStr = @cmdStr + <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(13)+<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(10) + '<span style="color: #8b0000">IF EXISTS(SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES with (NOLOCK) WHERE TABLE_NAME = ''namevaluepair'')</span>'
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 52:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> @cmdStr = @cmdStr + <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(13)+<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(10) + '<span style="color: #8b0000">BEGIN</span>'
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 53:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> @cmdStr = @cmdStr + <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(13)+<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(10) + '<span style="color: #8b0000">INSERT INTO ##largelists</span>'
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 54:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> @cmdStr = @cmdStr + <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(13)+<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(10) + '<span style="color: #8b0000">select a.siteid, a.webid, a.listid, count(a.id) [counts], c.fullurl, a.dirname, b.tp_title,</span>'
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 55:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> @cmdStr = @cmdStr + <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(13)+<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(10) + '<span style="color: #8b0000">(@@servername) [servername], (select db_name(dbid) from master..sysprocesses with (NOLOCK) where spid=@@SPID) [Content_DB]</span>'
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 56:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> @cmdStr = @cmdStr + <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(13)+<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(10) + '<span style="color: #8b0000">from alldocs as a with (nolock) inner join</span>'
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 57:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> @cmdStr = @cmdStr + <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(13)+<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(10) + '<span style="color: #8b0000">alllists as b with (nolock) on a.listid=b.tp_id inner join</span>'
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 58:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> @cmdStr = @cmdStr + <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(13)+<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(10) + '<span style="color: #8b0000">webs as c with (nolock) on b.tp_webid=c.id</span>'
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 59:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> @cmdStr = @cmdStr + <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(13)+<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(10) + '<span style="color: #8b0000">group by a.listid, c.fullurl, b.tp_title, a.siteid, a.webid, a.dirname</span>'
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 60:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> @cmdStr = @cmdStr + <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(13)+<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(10) + '<span style="color: #8b0000">HAVING count(a.id) &gt; ''1500''</span>'
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 61:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> @cmdStr = @cmdStr + <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(13)+<a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=CHAR&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">CHAR</a>(10) + '<span style="color: #8b0000">END</span>'
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 62:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=EXEC&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">EXEC</a> <a style="color: #ffa500" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=sp_executesql&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">sp_executesql</a> @Cmdstr
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 63: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 64:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=UPDATE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">UPDATE</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 65:         #DBNamesLL
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 66:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SET&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SET</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 67:         RecStatus = 1
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 68:     <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=WHERE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">WHERE</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 69:         RecStatus = 0 <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=AND&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">AND</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 70:         DatabaseName = @DbName
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 71: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=END&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">END</a>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 72: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 73: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=SELECT&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">SELECT</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 74:     WebID, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 75:     SiteID, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 76:     ListID, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 77:     tp_Title, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 78:     DirName, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 79:     Counts, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 80:     content_DB, 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 81:     servername 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 82: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=FROM&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">FROM</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 83:     ##largelists 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 84: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=ORDER&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">ORDER</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=BY&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">BY</a> 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 85:     counts <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=DESC&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">DESC</a>
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 86: 
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 87: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=DROP&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">DROP</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=TABLE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">TABLE</a> #DBNamesLL
</pre><pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 88: <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=DROP&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">DROP</a> <a style="color: #0000ff" href="https://search.microsoft.com/default.asp?so=RECCNT&amp;siteid=us%2Fdev&amp;p=1&amp;nq=NEW&amp;qu=TABLE&amp;IntlSearch=&amp;boolean=PHRASE&amp;ig=01&amp;i=09&amp;i=99">TABLE</a> ##largelists</pre></pre>
  </li>

  <li>In my OOB configuration, I changed the 1500 value to 300 in order to get some results. Here is what I get: 
    <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image004_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image004_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image004_2.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image004_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image004_thumb.png" width="504" height="81" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image004_thumb.png" /></a></p>

    <p>This indicates that I have 831 list items in the HelpFold/MetaData/1033/MS_OSS folder. It has an associated WebID, SiteID, and ListID shown. There is additional information to the right that identifies the server and the content database where the list is located.</p>
  </li>

  <li>After we have verified that data will actually be returned, we need to save the results to a file in order to get them back to Microsoft. The easiest way to do that is to send the query results to a file. 
    <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image005_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image005_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image005_2.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="clip_image005" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image005_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image005_thumb.png" width="392" height="310" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image005_thumb.png" /></a></p>
  </li>

  <li>Now, execute the query again by clicking on the Execute button 
    <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image006_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image006_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image006_2.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image006_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image006_thumb.png" width="403" height="164" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image006_thumb.png" /></a></p>
  </li>

  <li>When you execute the query, a Save Results dialog will pop up requesting a location for you to save the query results. Specify one that is easy for you to remember: 
    <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image007_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image007_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image007_2.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="clip_image007" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image007_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image007_thumb.png" width="369" height="243" mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Enumeratingitemscountsinlists_7856/clip_image007_thumb.png" /></a></p>
  </li>

  <li>Now, send the results file (SingleServerLargestFileQuery.rpt) to Microsoft for analysis. </li>
</ol>]]></content:encoded>
    </item>
    <item>
      <title>Hotfix for Advanced Search issue in MOSS (950437)</title>
      <link>https://docs.microsoft.com/archive/blogs/mmcintyr/hotfix-for-advanced-search-issue-in-moss-950437</link>
      <pubDate>Mon, 29 Sep 2008 09:04:00 GMT</pubDate>
      <dc:creator><![CDATA[Mike McIntyre [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mmcintyr/2008/09/29/hotfix-for-advanced-search-issue-in-moss-950437/</guid>
      <description><![CDATA[Apparently, some detail was accidentally omitted from the KB article - Expensive Transact-SQL...]]></description>
      <content:encoded><![CDATA[<P><I>Apparently</I>, some detail was accidentally omitted from the KB article - <I>Expensive Transact-SQL queries are generated in the back-end instance of SQL Server when you perform a search in SharePoint Server 2007 (</I><A href="https://support.microsoft.com/?kbid=950437" mce_href="https://support.microsoft.com/?kbid=950437"><I>https://support.microsoft.com/?kbid=950437</I></A><I>)</I></P>
<P>Advanced search queries issue very expensive SQL queries like “filename LIKE ‘%health%’” when we try to query with <I>contains</I> restrictions against individual properties. Depending upon the complexity of the query and the size of the corpus, the resulting query could possibly timeout. This hotfix allows for the removal of this capability.</P>
<P>For users wanting to re-enable the change, here are the steps to add “Contains” and “Does not contain” queries back to the drop-down list:</P>
<P>1. From the home page, click on the Advanced Search link</P>
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_2.png"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=108 alt=image src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb.png" width=240 border=0 mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb.png"></A> </P>
<P>2. Next, you will want to select the Edit Page option from the Site Actions drop-down</P>
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_4.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_4.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_4.png"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=282 alt=image src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb_1.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb_1.png" width=220 border=0 mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb_1.png"></A> </P>
<P>3. On the <I>Advanced Search Box</I> web part, click on the edit drop-down and select <I>Modify Shared Web Part <BR></I></P>
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_6.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_6.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_6.png"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=181 alt=image src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb_2.png" width=240 border=0 mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb_2.png"></A> </P>
<P>4. Expand the <I>Properties</I> section under the <I>Advanced Search Box <BR></I></P>
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_8.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_8.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_8.png"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=240 alt=image src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb_3.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb_3.png" width=187 border=0 mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb_3.png"></A> </P>
<P>5. In the properties textbox, find the following <BR>&lt;Option Name=”AllowOpContains” Value=”False”/&gt; under the root node. If it does not exist, create it.</P>
<P>6. Change the value from <I>False</I> to <I>True</I> (case sensitivity applies)</P>
<P>7. Click <I>OK</I></P>
<P>8. Click <I>Publish </I>to publish the page</P>
<P>9. Now you should see the “Contains” and “Does not contain” options again</P>
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_10.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_10.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_10.png"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=123 alt=image src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb_4.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb_4.png" width=494 border=0 mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/HotfixforAdvancedSearchissueinMOSS950437_714F/image_thumb_4.png"></A></P>]]></content:encoded>
    </item>
    <item>
      <title>What was I thinking?</title>
      <link>https://docs.microsoft.com/archive/blogs/mmcintyr/what-was-i-thinking</link>
      <pubDate>Tue, 02 Sep 2008 15:03:00 GMT</pubDate>
      <dc:creator><![CDATA[Mike McIntyre [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mmcintyr/2008/09/02/what-was-i-thinking/</guid>
      <description><![CDATA[Have you ever written an email and clicked the send button only to wish you had given it just...]]></description>
      <content:encoded><![CDATA[<OL>
<P>Have you ever written an email and clicked the send button only to wish you had given it just another minute or two of thought? Of course, you can always attempt to do a message recall; however, if your recipient has rules turned on to route your messages, they're going to get it anyway. Also, if you're sending to clients who do not honor that request, you're going to be out of luck. So, how can I configure Outlook to save me from myself?</P>
<LI>From the Outlook menu bar, choose Tools | Options. You should see the following: 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image001_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image001_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image001_2.png"><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=240 alt=clip_image001 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image001_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image001_thumb.png" width=208 border=0 mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image001_thumb.png"></A></P></LI>
<LI>Click on the Mail Setup tab 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image002_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image002_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image002_2.png"><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=240 alt=clip_image002 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image002_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image002_thumb.png" width=207 border=0 mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image002_thumb.png"></A></P></LI>
<LI>By default, the Send immediately when connected should be checked. You will want to un-check this option box and then click on the Send/Receive… button to take us to the next part 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image003_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image003_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image003_2.png"><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=240 alt=clip_image003 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image003_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image003_thumb.png" width=211 border=0 mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image003_thumb.png"></A></P></LI>
<LI>You should see an All Accounts group already defined. This, by default, will contain everything that you are currently syncing with. This includes things like: 
<UL>
<LI>Email accounts</LI>
<LI>SharePoint sites</LI>
<LI>RSS Feeds</LI>
<LI>Published calendars</LI></UL></LI>
<LI>Now, make sure that the Schedule an automatic send/receive every checkbox is checked. Instead of 30 minutes, you may want to adjust down to 2 minutes. This should be enough time for you to reconsider whether or not you really wanted to send that last email or not. </LI>
<LI>Once you are done setting these options, click on the Close button</LI>
<LI>Let's send a test message and see what happens. 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image004_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image004_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image004_2.png"><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=32 alt=clip_image004 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image004_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image004_thumb.png" width=240 border=0 mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/WhatwasIthinking_C58B/clip_image004_thumb.png"></A></P>
<P>You will notice that the message is queued for delivery in your Outbox. In approximately 2 minutes (or whatever setting you chose), the email will be delivered and cleared from your Outbox. However, if during that time you decide you want to retract that email, it's a lot easier (and safer) to simply delete it from the Outbox than it is to rely upon everything between you and intended recipient to clean it up for you.</P></LI></OL>]]></content:encoded>
    </item>
    <item>
      <title>How can you download a hotfix without contacting Microsoft?</title>
      <link>https://docs.microsoft.com/archive/blogs/mmcintyr/how-can-you-download-a-hotfix-without-contacting-microsoft</link>
      <pubDate>Tue, 02 Sep 2008 14:25:00 GMT</pubDate>
      <dc:creator><![CDATA[Mike McIntyre [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mmcintyr/2008/09/02/how-can-you-download-a-hotfix-without-contacting-microsoft/</guid>
      <description><![CDATA[A customer can get the fix they want without calling in to Microsoft, assuming they know the KB...]]></description>
      <content:encoded><![CDATA[<OL>
<P>A customer can get the fix they want without calling in to Microsoft, assuming they know the KB number of the hotfix they want and can remember the URL format for a self-service hotfix request:</P>
<P><A href="https://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=KBNumber&amp;kbln=KBLanguage" mce_href="https://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=KBNumber&amp;kbln=KBLanguage">https://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=KBNumber&amp;kbln=KBLanguage</A></P>
<P>Let's use our August Cumulative Update (CU) for MOSS as an example.</P>
<LI>Navigate to the to the update. In this instance, the August CU for MOSS 2007 Global is KB 956056. This yields the following URL: <A href="https://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=956056&amp;kbln=en-us" mce_href="https://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=956056&amp;kbln=en-us">https://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=956056&amp;kbln=en-us</A>. If this is the first time (in this browser session) that you have visited this site, you will be prompted to acknowledge a EULA for the site. Click on the <EM>I Accept</EM> button to proceed 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image001_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image001_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image001_2.png"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=148 alt=clip_image001 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image001_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image001_thumb.png" width=240 border=0 mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image001_thumb.png"></A></P></LI>
<LI>Next, you will see the screen for requesting the hotfix. There are a couple of areas that we need to talk about on this screen: 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image002_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image002_2.png" target=target mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image002_2.png"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=240 alt=clip_image002 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image002_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image002_thumb.png" width=223 border=0 mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image002_thumb.png"></A></P>
<OL>
<LI>By default, this screen will show the x86 hotfix. By clicking on the Only show hotfixes for my language and platform you will see all of the fixes (x86 &amp; x64) that are available under this particular KB article. You should check those boxes that are applicable for you. </LI>
<LI>Next, we need to know where to send the information about where to download the hotfix. Fill in your email address in this area. Make sure that your spam filter is set to allow email from "hotfix@microsoft.com". </LI>
<LI>Finally, we need to make sure you're not a bot :-). So, we request that you enter the string that you see in the picture at the bottom of the page. </LI>
<LI>Once you have done that, click on the Request hotfix to complete the process </LI></OL></LI>
<LI>Next, you will see the Hotfix Confirmation screen with some additional instructions. It should look like this: 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image003_2.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image003_2.png" mce_href="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image003_2.png"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=115 alt=clip_image003 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image003_thumb.png" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image003_thumb.png" width=240 border=0 mce_src="https://blogs.msdn.com/blogfiles/mmcintyr/WindowsLiveWriter/Howcanyoudownloadahotfixwithoutcontactin_BCB6/clip_image003_thumb.png"></A></P></LI>
<LI>In a few minutes, you should receive an email with detailed instruction on how to obtain the hotfix. It will look something like the following: 
<BLOCKQUOTE>
<P>IMPORTANT INFORMATION</P>
<P>For your convenience, we put the hotfix that you requested on an HTTP site. You can download the hotfix from this site without us filling up your e-mail inbox.</P>
<P>WARNING This hotfix has not undergone full testing. Therefore, it is intended only for systems or computers that are experiencing the exact problem that is described in the one or more Microsoft Knowledge Base articles that are listed in "KB Article Numbers" field in the table at the end of this e-mail message. If you are not sure whether any special compatibility or installation issues are associated with this hotfix, we encourage you to wait for the next service pack release. The service pack will include a fully tested version of this fix. We understand that it can be difficult to determine whether any compatibility or installation issues are associated with a hotfix. If you want confirmation that this hotfix addresses your specific problem, or if you want to confirm whether any special compatibility or installation issues are associated with this hotfix, support professionals in Customer Support Services can help you with that. For information about how to contact support, copy the following link and then past it into your Web browser:</P>
<P><A href="https://support.microsoft.com/contactus/" mce_href="https://support.microsoft.com/contactus/">https://support.microsoft.com/contactus/</A></P>
<P>For additional support options, please copy the following link and then paste it into your Web browser:</P>
<P><A href="https://support.microsoft.com/" mce_href="https://support.microsoft.com/">https://support.microsoft.com/</A></P>
<P>Before you install this hotfix</P>
<P>------------------------------</P>
<P>If you decide to install this hotfix, please note the following items:</P>
<P>Do not deploy a hotfix in a production environment without first testing the hotfix.</P>
<P>Back up the system or the computer that will receive the hotfix before you install the hotfix.</P>
<P>Additional hotfix information</P>
<P>-----------------------------</P>
<P>This hotfix package uses a password. Therefore, you must enter for each package the password that we included in this e-mail message. To make sure that you enter the correct password, we recommend that you highlight, copy, and then paste the password from this e-mail message when you are prompted. If you do not enter the correct password, you cannot install the hotfix.</P>
<P>NOTE Passwords are set to expire every seven days. Download the package within the next seven days to make sure that you can extract the files. If there are fewer than seven days left in the password change cycle when you receive this e-mail message, you receive two passwords. If this is the case, use the first password if you download the hotfix package before the date in the "Password Changes On" field that is listed in the table at the end of this e-mail message. Use the second password if you download the hotfix package after the date in the "Password Changes On" field.</P>
<P>NOTE For your convenience, we send the hotfix location to you in a hyperlink. To connect to this hotfix location, you can click the hyperlink in the "Location" field that is listed in the table at the end of this e-mail message to have your Web browser open that location. However, sometimes e-mail program settings disable hyperlinks. If the hyperlink in this e-mail message is disabled, please copy the hyperlink in the "Location" field and then past it into the address box of your Web browser. Make sure that you include the exact text (without spaces) between the parentheses in the <A href="https:///" mce_href="https://">https://</A> address.</P>
<P>Package: <BR>----------------------------------------------------------- <BR>KB Article Number(s): 956056 <BR>Language: All (Global) <BR>Platform: x64 <BR>Location: (<A href="https://hotfixv4.microsoft.com/Microsoft%20Office%20SharePoint%20Server%202007/sp2/officekb956056fullfilex64glb/12.0000.6327.5000/free/358323_intl_x64_zip.exe" mce_href="https://hotfixv4.microsoft.com/Microsoft%20Office%20SharePoint%20Server%202007/sp2/officekb956056fullfilex64glb/12.0000.6327.5000/free/358323_intl_x64_zip.exe">https://hotfixv4.microsoft.com/Microsoft%20Office%20SharePoint%20Server%202007/sp2/officekb956056fullfilex64glb/12.0000.6327.5000/free/358323_intl_x64_zip.exe</A>) <BR>Password: ^!$1re^S6</P>
<P>NOTE Make sure that you include all the text between "(" and ")" when you visit this hotfix location. <BR></P></BLOCKQUOTE></LI></OL>
<BLOCKQUOTE>&nbsp;</BLOCKQUOTE>
<OL>
<P mce_keep="true">&nbsp;</P></OL>]]></content:encoded>
    </item>
    <item>
      <title>Microsoft releases Best Practice Analyzer (BPA) for WSS 3.0 and MOSS 2007!</title>
      <link>https://docs.microsoft.com/archive/blogs/mmcintyr/microsoft-releases-best-practice-analyzer-bpa-for-wss-3-0-and-moss-2007</link>
      <pubDate>Fri, 16 Feb 2007 12:20:46 GMT</pubDate>
      <dc:creator><![CDATA[Mike McIntyre [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mmcintyr/2007/02/16/microsoft-releases-best-practice-analyzer-bpa-for-wss-3-0-and-moss-2007/</guid>
      <description><![CDATA[Well, Microsoft has finally released their first pass at a Best Practice Analyzer (BPA) for WSS 3.0...]]></description>
      <content:encoded><![CDATA[
<p>Well, Microsoft has finally released their first pass at a Best Practice Analyzer (BPA) for WSS 3.0 and MOSS 2007! The BPA is based upon the same engine that <a href="https://www.microsoft.com/technet/prodtechnol/exchange/downloads/2003/analyzers/default.mspx" target="_blank">Exchange</a> has been using for a couple of years. Here is a small overview.</p>
<p><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'"><strong>Overview</strong></span></span></p>
<p><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">The Microsoft <a href="https://www.microsoft.com/downloads/details.aspx?familyid=cb944b27-9d6b-4a1f-b3e1-778efda07df8&amp;displaylang=en" target="_blank">Best Practices Analyzer</a> for Windows SharePoint Services 3.0 and the 2007 Microsoft Office System Best Practices Analyzer programmatically collects settings and values from data repositories such as MS SQL, registry, metabase and performance monitor. Once collected, a set of comprehensive 'best practice' rules are applied to the topology. Administrators running this tool will get a detailed report listing the recommendations that can be made to the environment to achieve greater performance, scalability and uptime.</span></span></p>
<p><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'"><strong>Instructions</strong></span></p>
<p><span><strong><span style="TEXT-DECORATION: underline"><span><strong>To install this download:</strong></span></span></strong></span></p>
<ol style="MARGIN-TOP: 0in" type="1">
<li><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">Download the file by clicking the Download button (above) and saving the file to your hard disk.</span></li>
<li><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">Double-click the BestPracticeAnalyzer.exe program file on your hard disk to start the Setup program.</span></li>
<li><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">Follow the instructions on the screen to complete the installation.</span></li>
</ol>
<p><span><strong><span style="TEXT-DECORATION: underline"><span><strong>Instructions for use:</strong></span></span></strong></span></p>
<ol style="MARGIN-TOP: 0in" type="1">
<li><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">On the Start menu, click Run. In the Open box, type cmd, and then click OK.</span></li>
<li><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">Type the following command, then press ENTER:<br/><br/>cd "C:\BPA"<br/><br/>where C:\BPA is the location that contains the Microsoft Best Practices Analyzer for Microsoft Windows SharePoint Services 3.0 and the 2007 Microsoft Office System. (If the Microsoft Best Practices Analyzer for Microsoft Windows SharePoint Services 3.0 and the 2007 Microsoft Office System is in a different location, replace C:\BPA with that location.)</span></li>
<li><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">If you execute the sharepointbpa.exe from the command line, you will see a sample usage as shown below:<br/></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/BPAUsage.gif" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/BPAUsage.gif" rel="lightbox" title="BPAUsage.gif"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/BPAUsage_tn.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/BPAUsage_tn.jpg" style="WIDTH: 313px; HEIGHT: 52px" title="BPAUsage.gif" height="52" width="313" alt="BPAUsage.gif" border="0" id="urn:zoundry:jid:BPAUsage.gif"/></a></li>
<li><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">Type the following command, and then press ENTER:<br/><br/>sharepointbpa.exe -cmd analyze -substitutions SERVER_NAME CentralAdministrationServer<br/><br/>where "CentralAdministrationServer" is the server name for your SharePoint Central Administration.<br/><br/>It is important that SERVER_NAME is included in the parameters capitalized and that CentralAdministratorServer is replaced with the server name that is running SharePoint Central Administration.</span></li>
<li><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">After the analysis is complete, open sharepointbpa.report.htm in a web browser. You should see something similar to the following:<br/><br/><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/BPAOutput.gif" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/BPAOutput.gif" rel="lightbox" title="BPAOutput.gif"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/mmcintyr/BPAOutput_tn.jpg" original-url="https://blogs.msdn.com/blogfiles/mmcintyr/BPAOutput_tn.jpg" title="BPAOutput.gif" height="146" width="200" alt="BPAOutput.gif" border="0" id="urn:zoundry:jid:BPAOutput.gif"/></a><br/><br/>Sharepointbpa.report.htm will be in the same location that the Microsoft Best Practices Analyzer for Microsoft Windows SharePoint Services 3.0 and the 2007 Microsoft Office System was installed.</span></li>
<li><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">Type EXIT and then press ENTER to quit the command prompt.</span></li>
</ol>
<p><br/></p>
<p><span style="TEXT-DECORATION: underline"><strong>Additional Information:</strong></span></p>
<ol style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">
<li>Unlike the Exchange BPA, this tool must be run on the actual server from which data is being collected. You cannot run this tool remotely from a client machine.</li>
<li>You can also produce an output in a raw xml format by using the following command:<br/><br/><span style="COLOR: #0000ff"><strong>sharepointbpa.exe -cmd analyze -substitutions SERVER_NAME %COMPUTERNAME% -reportformat xml<br/></strong></span></li>
<li>If you would like to generate the output file into an altername location, simply specify the outputdirectory option:<br/><br/><span style="COLOR: #0000ff"><strong>sharepointbpa.exe -cmd analyze -substitutions SERVER_NAME %COMPUTERNAME% -reportformat xml -outputdirectory rpts<br/></strong></span></li>
<li>Expect more rules to follow as it gains momentum!<br/><br/></li>
</ol>
]]></content:encoded>
    </item>
  </channel>
</rss>