<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>granth's blog : Other</title><link>http://blogs.msdn.com/granth/archive/tags/Other/default.aspx</link><description>Tags: Other</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Multi-threaded robocopy for faster copies</title><link>http://blogs.msdn.com/granth/archive/2009/12/07/multi-threaded-robocopy-for-faster-copies.aspx</link><pubDate>Tue, 08 Dec 2009 06:27:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9933915</guid><dc:creator>grantholliday</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/granth/comments/9933915.aspx</comments><wfw:commentRss>http://blogs.msdn.com/granth/commentrss.aspx?PostID=9933915</wfw:commentRss><wfw:comment>http://blogs.msdn.com/granth/rsscomments.aspx?PostID=9933915</wfw:comment><description>&lt;p&gt;Windows 7 and Windows Server 2008 R2 include an updated version of &lt;a href="http://en.wikipedia.org/wiki/Robocopy"&gt;Robocopy&lt;/a&gt; that includes a multi-threaded copy feature.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;/MT&lt;/strong&gt;[:n] :: Do multi-threaded copies with n threads (default 8).&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;I’ve been using this for a while now and I’ve been seeing excellent results. Be careful with who you share a switch with though – I managed to saturate my 100Mbit switch so badly that my fellow switch neighbors started getting timeouts. My favorite usage is:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;robocopy &lt;a href="file://\\server\share\folder"&gt;\\server\share\folder&lt;/a&gt; C:\Temp\folder /S /MT /Z&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;This copies the contents of the remote folder, with 8 threads in restartable mode – great for when you’re on a slow or unreliable link.&amp;#160; Also note that the progress monitors don’t seem accurate in multi-threaded mode. It starts copying 8 files at once, but only shows you the progress of 1 of them.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9933915" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/granth/archive/tags/Other/default.aspx">Other</category></item><item><title>Replying inline in Outlook with [Name]:</title><link>http://blogs.msdn.com/granth/archive/2009/05/05/replying-inline-in-outlook-with-name.aspx</link><pubDate>Wed, 06 May 2009 03:27:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9590043</guid><dc:creator>grantholliday</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/granth/comments/9590043.aspx</comments><wfw:commentRss>http://blogs.msdn.com/granth/commentrss.aspx?PostID=9590043</wfw:commentRss><wfw:comment>http://blogs.msdn.com/granth/rsscomments.aspx?PostID=9590043</wfw:comment><description>&lt;p&gt;Did you know that there’s a feature in Outlook that prefixes your name automatically when you reply inline like this?&lt;/p&gt;  &lt;p&gt;When you reply to somebody and start replying inline, it automatically changes the font to a new color and prefixes it with &lt;b&gt;[GrantH]&lt;/b&gt; or similar.&lt;/p&gt;  &lt;p&gt;&lt;i&gt;Open Outlook | Tools | Options | Mail Format | Signatures &amp;amp; Stationary..&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/granth/WindowsLiveWriter/ReplyinginlineinOutlookwithName_F572/clip_image001_4.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Outlook options signatures and stationary" border="0" alt="Outlook options signatures and stationary" src="http://blogs.msdn.com/blogfiles/granth/WindowsLiveWriter/ReplyinginlineinOutlookwithName_F572/clip_image001_thumb_1.jpg" width="400" height="279" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9590043" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/granth/archive/tags/Other/default.aspx">Other</category></item><item><title>Hosted Team Foundation Server</title><link>http://blogs.msdn.com/granth/archive/2008/12/02/hosted-team-foundation-server.aspx</link><pubDate>Wed, 03 Dec 2008 05:56:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9167890</guid><dc:creator>grantholliday</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/granth/comments/9167890.aspx</comments><wfw:commentRss>http://blogs.msdn.com/granth/commentrss.aspx?PostID=9167890</wfw:commentRss><wfw:comment>http://blogs.msdn.com/granth/rsscomments.aspx?PostID=9167890</wfw:comment><description>&lt;p&gt;Since the &lt;a href="http://www.tfsnow.com/"&gt;Readify TFSNow!&lt;/a&gt; hosted TFS offering that I helped to build is no longer in operation, people have asked if there is anybody else doing it.&lt;/p&gt;  &lt;p&gt;There are three partners that I know of that offer to run and maintain Team Foundation Server in the cloud for you:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://www.phase2.com/hosted_team_foundation_server_overview2.aspx"&gt;Phase2&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.teamdevcentral.com/overview.html"&gt;TeamDevCentral&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.saasmadeeasy.com/"&gt;Saas Made Easy&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.codeplex.com/"&gt;CodePlex&lt;/a&gt; – your project must be open source &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;I don’t have any experience with any of them, so please let me know what you think.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9167890" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/granth/archive/tags/TFS/default.aspx">TFS</category><category domain="http://blogs.msdn.com/granth/archive/tags/VSTS+Planning+_2600_amp_3B00_+Tracking/default.aspx">VSTS Planning &amp;amp; Tracking</category><category domain="http://blogs.msdn.com/granth/archive/tags/Other/default.aspx">Other</category></item><item><title>OzTFS, OzMOSS and OzSilverlight are moving to a new mail server</title><link>http://blogs.msdn.com/granth/archive/2008/12/01/oztfs-ozmoss-and-ozsilverlight-are-moving-to-a-new-mail-server.aspx</link><pubDate>Tue, 02 Dec 2008 10:58:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9163595</guid><dc:creator>grantholliday</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/granth/comments/9163595.aspx</comments><wfw:commentRss>http://blogs.msdn.com/granth/commentrss.aspx?PostID=9163595</wfw:commentRss><wfw:comment>http://blogs.msdn.com/granth/rsscomments.aspx?PostID=9163595</wfw:comment><description>&lt;p&gt;&lt;strong&gt;Status update: &lt;/strong&gt;OzTFS, OzMOSS and OzSilverlight have been migrated. Please note the new addresses that you need to send mail to.&lt;/p&gt;  &lt;p&gt;These three mailing lists are a valuable resource to the Australian community as well as the global community. Please bear with us during this transition, we’ll trying to make it as smooth as possible.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;What do you need to do?&lt;/b&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;You don’t need to re-subscribe. The subscriptions have been bulk imported to the new server. &lt;/li&gt;    &lt;li&gt;You may need to modify your filtering rules. The best way to do that is to filter on the “list-id:” in the headers. &lt;/li&gt;    &lt;li&gt;The email address that you post to changes from listserver AT oztfs.com –&amp;gt; oztfs AT oztfs.com &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;b&gt;Background&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;As you are probably aware, we’ve been suffering a few problems on the &lt;a href="http://www.oztfs.com/"&gt;OzTFS&lt;/a&gt;, &lt;a href="http://www.ozmoss.com/"&gt;OzMOSS&lt;/a&gt; and &lt;a href="http://www.ozsilverlight.com"&gt;OzSilverlight&lt;/a&gt; mailing lists lately. (List Posting Errors, etc)&lt;/p&gt;  &lt;p&gt;Additionally, the server that runs the lists is &lt;a href="http://notgartner.wordpress.com/2008/10/03/community-server-outage-now-back-up/"&gt;near the end of its life&lt;/a&gt; and it’s time to retire it.&amp;#160; &lt;a href="http://www.codify.com/"&gt;Codify&lt;/a&gt; currently host the busy &amp;amp; popular &lt;a href="http://www.codify.com/ausdotnetMailingList"&gt;ausdotnet mailing list&lt;/a&gt; and were successfully plied with offers of beer to host the other Australian MS community lists on the same infrastructure.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Where/What/etc is it?&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;The list is hosted in a data centre in Brisbane in a dedicated 42RU rack belonging to Codify. It is served from Windows Server 2008, IIS 7, and GFI MailEssentials running in a Hyper-V guest VM on one of Codify's production Dell 2950 servers. The server has 8 x 2.4Ghz XEON cores, 16 GB of RAM and 2TB of RAID 5 disk. The VM is shipped periodically over a private 100 meg link to another server at Pipe Network's DC2 in Creek Street, Brisbane for backups. The server has 100 meg of full-duplex Ethernet connectivity and BGP routing to diverse upstream providers. That should be sufficient for a mailing list :).&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.oztfs.com"&gt;www.oztfs.com&lt;/a&gt;, &lt;a href="http://www.ozmoss.com"&gt;www.ozmoss.com&lt;/a&gt; and &lt;a href="http://www.ozsilverlight.com"&gt;www.ozsilverlight.com&lt;/a&gt; will be setup as a redirects to &lt;a href="http://www.codify.com/lists/oztfs"&gt;http://www.codify.com/lists/oztfs&lt;/a&gt;, &lt;a href="http://www.codify.com/lists/ozmoss"&gt;/ozmoss&lt;/a&gt; and &lt;a href="http://www.codify.com/lists/ozsilverlight"&gt;/ozsilverlight&lt;/a&gt; which includes information on how to subscribe and unsubscribe from the lists.&lt;/p&gt;  &lt;p&gt;If you are having problems with your subscription or you have questions about the list, please &lt;a href="http://blogs.msdn.com/granth/contact.aspx"&gt;contact&lt;/a&gt; me or &lt;a href="https://www.codify.com/AboutUs/ContactUs"&gt;Codify&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9163595" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/granth/archive/tags/TFS/default.aspx">TFS</category><category domain="http://blogs.msdn.com/granth/archive/tags/Other/default.aspx">Other</category></item><item><title>Asus Eee PC Netbook</title><link>http://blogs.msdn.com/granth/archive/2008/11/27/asus-eee-pc-netbook.aspx</link><pubDate>Fri, 28 Nov 2008 06:56:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9149437</guid><dc:creator>grantholliday</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/granth/comments/9149437.aspx</comments><wfw:commentRss>http://blogs.msdn.com/granth/commentrss.aspx?PostID=9149437</wfw:commentRss><wfw:comment>http://blogs.msdn.com/granth/rsscomments.aspx?PostID=9149437</wfw:comment><description>&lt;p&gt;In &lt;a href="http://ozgrant.com/2008/11/27/australian-trip-report/"&gt;my recent trip to Australia&lt;/a&gt;, I had some time to walk through the shops. One of the things that really caught my attention was the &lt;a href="http://event.asus.com/eeepc/microsites/en/index.htm"&gt;Asus Eee PC&lt;/a&gt;. (It’s pronounced “e p c”). I’d heard about these low-cost, low-power netbooks before but I’d never considered how useful they might be. The thing that struck me about these is that they were appearing on retail shelves – which means that they’re no longer a gadget-geek, early-adopter piece of technology.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://eeepc.asus.com/global/1000h.htm"&gt;&lt;img title="Asus Eee PC" border="0" alt="Asus Eee PC" src="http://www.cpw.com.cn/uploadFiles/200882517153575622.jpg" width="240" height="181" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Here’s what I like about them:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;They’re small, yet still useable. &lt;/li&gt;    &lt;li&gt;They’re power-efficient. That means longer times between charging. &lt;/li&gt;    &lt;li&gt;They’re cheap. &lt;/li&gt;    &lt;li&gt;They come configured. They come pre-loaded with Windows XP, Skype, Live services and everything ready to go. No bloatware, no turds. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;The &lt;a href="http://arstechnica.com/journals/microsoft.ars/2008/10/28/arspdc-steven-sinofsky-on-windows-7-and-netbooks"&gt;current models are also able to run the next version of Windows – Windows 7&lt;/a&gt;. That means that they’re not going to be obsolete too soon.&lt;/p&gt;  &lt;p&gt;My prediction is that they’re going to be the Next Big Thing and you’re going to see them as popular as iPods with young people in the next 12 months. To add some weight to my theory, I’ve been reading and asking what other people think of them:&lt;/p&gt;  &lt;p&gt;First of all came the email responses from other softies:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;“I use the unit now as my everyday – domain joined – Microsoft laptop and love it”&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;“Highly recommended – the portability and battery life can’t be beat.”&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;The next example was from the girl at the counter from where we ended up buying &lt;a href="http://eeepc.asus.com/global/1000h.htm"&gt;1000H model preloaded with XP, 1Gb RAM and 160Gb Hard drive&lt;/a&gt;:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;“They’re really cool. Everybody at uni has them, they fit on the lecture desk”&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;The next example was when we got home and my wife tried it out:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;“It fits in my bag!”&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Then there’s &lt;a href="http://bits.blogs.nytimes.com/2008/09/10/mini-laptops-fuel-pc-sales-growth/"&gt;these comments from a New York Times article – Mini Laptops Fuel PC Sales Growth&lt;/a&gt;:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;“The UMPC is not going to be a fad. It is going to evolve into something that Generation Y will find even more useful as they become the increasingly affluent, on-the-go, always connected members of society. &lt;strong&gt;This generation already looks at small screens, type on keyboards that are accessible only by their thumbs&lt;/strong&gt;, and type fewer and fewer documents, in favor of blogs, twitters, metatagging photos, videos and creating presentations vice point-papers.       &lt;br /&gt;Desktop/Tabletop laptops will replace the current mid-tower PC, as the increasing power fits into the smaller form factor, but the UMPC - in whatever its evolved state - &lt;strong&gt;will be their second device; indeed their true mobile device that will enable them to stay in communication&lt;/strong&gt; with their world and in touch with their community.”&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;“For us ladies, you can slip an Eee PC right into a handbag. Really can’t say the same thing about any regular laptop. It’s really different when you can take a full PC with you wherever you want whenever you want.”&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Let me know what you think. What are you doing with your Eee PC?&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9149437" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/granth/archive/tags/Other/default.aspx">Other</category></item><item><title>TFS and the OWASP Top 10 Threats</title><link>http://blogs.msdn.com/granth/archive/2008/11/26/tfs-and-the-owasp-top-10-threats.aspx</link><pubDate>Thu, 27 Nov 2008 06:06:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9145721</guid><dc:creator>grantholliday</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/granth/comments/9145721.aspx</comments><wfw:commentRss>http://blogs.msdn.com/granth/commentrss.aspx?PostID=9145721</wfw:commentRss><wfw:comment>http://blogs.msdn.com/granth/rsscomments.aspx?PostID=9145721</wfw:comment><description>&lt;p&gt;My first MSDN document has been published. &lt;a href="http://msdn.microsoft.com/en-us/library/dd129898.aspx"&gt;Team Foundation Server (TFS) and the Open Web Application Security Project (OWASP) Top Ten&lt;/a&gt; describes how TFS complies with the ten most common threats for web applications.&lt;/p&gt;  &lt;p&gt;Recently, our sales guys were working with a customer that has an IT policy which states that any web applications they deploy internally must be compliant with the Open Web Application Security Project’s (OWASP) Top Ten Threats. This applies to custom developed software and off the shelf software.&lt;/p&gt;  &lt;p&gt;The &lt;a href="http://www.owasp.org/"&gt;Open Web Application Security Project (OWASP)&lt;/a&gt; is a worldwide free and open community focused on improving the security of application software. The OWASP Top Ten provides a powerful awareness document for Web application security. The OWASP Top Ten represents a broad consensus about what the most critical Web application security flaws are. The current version is the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=130624"&gt;OWASP Top Ten 2007&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Even though the OWASP Top Ten &lt;a href="http://www.owasp.org/index.php/Top_10_2007#Aim"&gt;shouldn’t be used as a policy or standard&lt;/a&gt;, we wasn’t in a position to argue this point and were tasked to prove that TFS itself is compliant with the threats.&lt;/p&gt;  &lt;p&gt;It was an interesting process learning about the different projects and initiatives. In the end it turns out that Microsoft employs a few of the founders of the OWASP project and they now work on the &lt;a href="http://blogs.msdn.com/sdl/"&gt;SDL team&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;The core of it comes down to the fact that the engineering teams at Microsoft practice the Security Development Lifecycle which covers these threats.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;The &lt;a href="http://go.microsoft.com/fwlink/?LinkId=130622"&gt;Microsoft Security Development Lifecycle (SDL)&lt;/a&gt; is the industry-leading software security assurance process. A Microsoft-wide initiative and a mandatory policy since 2004, SDL has played a critical role in embedding security and privacy into Microsoft software and culture. Combining a holistic and practical approach, SDL introduces security and privacy early and throughout the development process.&lt;/p&gt;    &lt;p&gt;Every shipping Microsoft product must be approved by the Secure Windows Initiative (SWI) team and go through a process of review and registration in a central repository. Visual Studio Team System 2008 Team Foundation Server SP1 has achieved compliance with Microsoft’s Security Development Lifecycle (SDL).&lt;/p&gt;&lt;/blockquote&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9145721" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/granth/archive/tags/TFS/default.aspx">TFS</category><category domain="http://blogs.msdn.com/granth/archive/tags/Other/default.aspx">Other</category></item><item><title>Remotely connecting to a Hyper-V virtual machine with networking disabled</title><link>http://blogs.msdn.com/granth/archive/2008/11/10/remotely-connecting-to-a-hyper-v-virtual-machine-with-networking-disabled.aspx</link><pubDate>Mon, 10 Nov 2008 21:59:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9058485</guid><dc:creator>grantholliday</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/granth/comments/9058485.aspx</comments><wfw:commentRss>http://blogs.msdn.com/granth/commentrss.aspx?PostID=9058485</wfw:commentRss><wfw:comment>http://blogs.msdn.com/granth/rsscomments.aspx?PostID=9058485</wfw:comment><description>&lt;p&gt;In a previous blog post, I explained the &lt;a href="http://blogs.msdn.com/granth/archive/2008/11/03/converting-vs2010-ctp-to-hyper-v.aspx"&gt;steps to convert the VS2010 CTP VPC from Virtual PC to Hyper-V&lt;/a&gt;. When using virtual machines, sometimes you don’t want them to be connected to any network. This is especially true with the Team Foundation Server 2010 CTP VPC – if you connect it to the network, it probably will stop functioning.&lt;/p&gt;  &lt;p&gt;This post explains how you can use the Hyper-V Virtual Machine Connection tool to connect to a VM running on a remote Hyper-V server. The way this works is that it connects to the Hyper-V instance, then directly to the virtual machine’s console on that instance. It doesn’t require the virtual machine to have networking support enabled.&lt;/p&gt;  &lt;p&gt;If your workstation is running Windows Server 2008, then you just need to install the Hyper-V tools and use them. If you are running Windows Vista on your remote workstation, you will need to install one of these packages:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=BF909242-2125-4D06-A968-C8A3D75FF2AA&amp;amp;displaylang=en"&gt;Hyper-V Remote Management Update for Vista&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a title="http://www.microsoft.com/downloads/details.aspx?familyid=88208468-0AD6-47DE-8580-085CBA42C0C2&amp;amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?familyid=88208468-0AD6-47DE-8580-085CBA42C0C2&amp;amp;displaylang=en"&gt;Hyper-V Remote Management Update for Vista x64&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;You &lt;strong&gt;may&lt;/strong&gt; also need to &lt;a href="http://msdn.microsoft.com/en-us/library/aa389290(VS.85).aspx"&gt;enable remote WMI between your computers&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Once you have the VMConnect.exe tool installed at &amp;quot;C:\Program Files\Hyper-V\vmconnect.exe&amp;quot;, you can create a shortcut to connect directly to the virtual machine. The syntax is this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/granth/WindowsLiveWriter/RemotelyconnectingtoaHyperVvirtualmachin_9A78/image_2.png"&gt;&lt;img style="display: inline" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/granth/WindowsLiveWriter/RemotelyconnectingtoaHyperVvirtualmachin_9A78/image_thumb.png" width="417" height="308" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;So for example, to connect to the VM by the name of “VS2010CTP” running on the remote machine “MyHyperVServer”, create a shortcut like this:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;quot;C:\Program Files\Hyper-V\vmconnect.exe&amp;quot; MyHyperVServer VS2010CTP&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;See also:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://blogs.msdn.com/virtual_pc_guy/archive/2008/04/22/using-virtual-machine-connection-stand-alone.aspx"&gt;Using Virtual Machine Connection&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/virtual_pc_guy/archive/2008/01/17/allowing-non-administrators-to-control-hyper-v.aspx"&gt;Allowing non-administrators to control Hyper-V&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9058485" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/granth/archive/tags/TFS/default.aspx">TFS</category><category domain="http://blogs.msdn.com/granth/archive/tags/VSTS+Planning+_2600_amp_3B00_+Tracking/default.aspx">VSTS Planning &amp;amp; Tracking</category><category domain="http://blogs.msdn.com/granth/archive/tags/Other/default.aspx">Other</category></item><item><title>Querying Perfmon data from SQL</title><link>http://blogs.msdn.com/granth/archive/2008/11/07/querying-perfmon-data-from-sql.aspx</link><pubDate>Sat, 08 Nov 2008 03:41:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9053391</guid><dc:creator>grantholliday</dc:creator><slash:comments>9</slash:comments><comments>http://blogs.msdn.com/granth/comments/9053391.aspx</comments><wfw:commentRss>http://blogs.msdn.com/granth/commentrss.aspx?PostID=9053391</wfw:commentRss><wfw:comment>http://blogs.msdn.com/granth/rsscomments.aspx?PostID=9053391</wfw:comment><description>&lt;p&gt;In a previous post I talked about &lt;a href="http://blogs.msdn.com/granth/archive/2008/09/23/relogging-perfmon-binary-log-files-to-sql.aspx"&gt;Relogging Perfmon binary log files to SQL&lt;/a&gt;. The next obvious step is to query the data from the database.&lt;/p&gt;  &lt;p&gt;There are two ways to do this:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Use Perfmon itself to connect to the SQL data source&lt;/li&gt;    &lt;li&gt;Use another tool to query the SQL data source directly&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;strong&gt;1. Using Performance Monitor&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Once you open Performance Monitor, press the &lt;strong&gt;View Log Data&lt;/strong&gt; button (Ctrl-L):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/granth/WindowsLiveWriter/QueryingPerfmondatafromSQL_E7AF/image_4.png"&gt;&lt;img style="display: inline" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/granth/WindowsLiveWriter/QueryingPerfmondatafromSQL_E7AF/image_thumb_1.png" width="551" height="223" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Then on the &lt;strong&gt;Source&lt;/strong&gt; tab, if you have the ODBC System DSN configured to connect to your performance database, it will show up.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/granth/WindowsLiveWriter/QueryingPerfmondatafromSQL_E7AF/image_2.png"&gt;&lt;img style="display: inline" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/granth/WindowsLiveWriter/QueryingPerfmondatafromSQL_E7AF/image_thumb.png" width="396" height="427" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This allows you to view the log files directly from SQL, just as if you had loaded the binary log files.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;2. Querying SQL directly&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;At first glance, the schema doesn’t seem very intuitive. But with a little digging, it’s not too bad.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/granth/WindowsLiveWriter/QueryingPerfmondatafromSQL_E7AF/image_6.png"&gt;&lt;img style="display: inline" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/granth/WindowsLiveWriter/QueryingPerfmondatafromSQL_E7AF/image_thumb_2.png" width="570" height="234" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Whenever you use PerfMon or relog to log to a database, it automatically sets up this schema for you. There are three tables:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;DisplayToID – This lists all the log sets that are in the database&lt;/li&gt;    &lt;li&gt;CounterData – This is where the actual counter values are stored&lt;/li&gt;    &lt;li&gt;CounterDetails – This is where the metadata about each counter / object / instance is stored&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Here are some queries that I’ve found useful:&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Get all computers that have counter data logged:&lt;/em&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;SELECT DISTINCT MachineName     &lt;br /&gt;FROM CounterDetails      &lt;br /&gt;ORDER BY MachineName&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;em&gt;Get available object names for a particular computer:&lt;/em&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;SELECT DISTINCT ObjectName     &lt;br /&gt;FROM CounterDetails      &lt;br /&gt;WHERE MachineName = ‘\\MYSERVER’      &lt;br /&gt;ORDER BY ObjectName&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;em&gt;Get counter names for a particular computer and object:&lt;/em&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;SELECT DISTINCT CounterName     &lt;br /&gt;FROM CounterDetails      &lt;br /&gt;WHERE MachineName = ‘\\MYSERVER’      &lt;br /&gt;AND ObjectName = ‘Processor’      &lt;br /&gt;ORDER BY CounterName&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;em&gt;Get instance names for a particular computer, object and counter:&lt;/em&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;SELECT DISTINCT InstanceName     &lt;br /&gt;FROM CounterDetails      &lt;br /&gt;WHERE MachineName = ‘\\MYSERVER’      &lt;br /&gt;AND ObjectName = ‘Processor’      &lt;br /&gt;AND CounterName = ‘% Processor Time’      &lt;br /&gt;ORDER BY InstanceName&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;em&gt;Get counter values for a particular computer, object, counter and instance. Name the column appropriately:&lt;/em&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;SELECT     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; CAST(LEFT(CounterDateTime, 16) as smalldatetime) AS CounterDateTime,      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; REPLACE(CounterDetails.MachineName,'\\','') AS ComputerName,      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; CounterDetails.ObjectName + ISNULL('(' + CounterDetails.InstanceName + ')','') + '\' + CounterDetails.CounterName AS [Counter],      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; CounterData.CounterValue      &lt;br /&gt;FROM CounterData      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; INNER JOIN CounterDetails ON CounterData.CounterID = CounterDetails.CounterID      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; INNER JOIN DisplayToID ON CounterData.GUID = DisplayToID.GUID      &lt;br /&gt;WHERE CounterDetails.ObjectName = 'Processor'      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; AND&amp;#160;&amp;#160;&amp;#160; CounterDetails.CounterName = '% Processor Time'      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; AND&amp;#160;&amp;#160;&amp;#160; CounterDetails.MachineName = '\\MYSERVER’      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; AND CounterDetails.InstanceName = '_Total'      &lt;br /&gt;ORDER BY CounterData.CounterDateTime&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;There’s a few nuances in the schema which creates complexity in this query. Let me try and explain:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;CounterDateTime is a char(24) instead of a datetime. By trimming it to 16 characters, this allows it to be converted to a smalldatetime at the ‘minutes’ resolution – not seconds.&lt;/li&gt;    &lt;li&gt;MachineName includes ‘\\’, we want to trim it to make it look pretty.&lt;/li&gt;    &lt;li&gt;InstanceName can be null. An example is the Memory\Pages/sec object &amp;amp; counter. The instance value for this combination is null. So we only show the instance name if it’s not null.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Of course now that you have the data being collected, post-processed and queryable in SQL – the next logical step is to make it reportable. Here is a report that I’ve built to display this data. I’ll talk about it more in a future blog post.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/granth/WindowsLiveWriter/QueryingPerfmondatafromSQL_E7AF/image_8.png"&gt;&lt;img style="display: inline" title="PerfMon SQL Report" border="0" alt="PerfMon SQL Report" src="http://blogs.msdn.com/blogfiles/granth/WindowsLiveWriter/QueryingPerfmondatafromSQL_E7AF/image_thumb_3.png" width="570" height="386" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9053391" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/granth/archive/tags/TFS/default.aspx">TFS</category><category domain="http://blogs.msdn.com/granth/archive/tags/TFS+at+Microsoft/default.aspx">TFS at Microsoft</category><category domain="http://blogs.msdn.com/granth/archive/tags/Other/default.aspx">Other</category><category domain="http://blogs.msdn.com/granth/archive/tags/Performance/default.aspx">Performance</category></item><item><title>Script to configure SQL Server Maximum Memory</title><link>http://blogs.msdn.com/granth/archive/2008/10/03/script-to-configure-sql-server-maximum-memory.aspx</link><pubDate>Sat, 04 Oct 2008 03:38:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8976045</guid><dc:creator>grantholliday</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/granth/comments/8976045.aspx</comments><wfw:commentRss>http://blogs.msdn.com/granth/commentrss.aspx?PostID=8976045</wfw:commentRss><wfw:comment>http://blogs.msdn.com/granth/rsscomments.aspx?PostID=8976045</wfw:comment><description>&lt;p&gt;I’ve often got SQL Server running on my workstation, laptop or VPC and find that it just soaks up all my memory. This script sets the maximum limit:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;USE [master]&lt;/p&gt;    &lt;p&gt;GO&lt;/p&gt;    &lt;p&gt;-- Set max server memory limit&lt;/p&gt;    &lt;p&gt;EXEC sp_configure 'show advanced options', 1&lt;/p&gt;    &lt;p&gt;RECONFIGURE WITH OVERRIDE&lt;/p&gt;    &lt;p&gt;&amp;#160;&lt;/p&gt;    &lt;p&gt;EXEC sp_configure 'max server memory (MB)', 484&lt;/p&gt;    &lt;p&gt;RECONFIGURE WITH OVERRIDE&lt;/p&gt;    &lt;p&gt;&amp;#160;&lt;/p&gt;    &lt;p&gt;-- Check the setting&lt;/p&gt;    &lt;p&gt;EXEC sp_configure 'max server memory (MB)'&lt;/p&gt;&lt;/blockquote&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8976045" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/granth/archive/tags/Other/default.aspx">Other</category></item><item><title>Relogging Perfmon binary log files to SQL</title><link>http://blogs.msdn.com/granth/archive/2008/09/23/relogging-perfmon-binary-log-files-to-sql.aspx</link><pubDate>Wed, 24 Sep 2008 05:05:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8962986</guid><dc:creator>grantholliday</dc:creator><slash:comments>10</slash:comments><comments>http://blogs.msdn.com/granth/comments/8962986.aspx</comments><wfw:commentRss>http://blogs.msdn.com/granth/commentrss.aspx?PostID=8962986</wfw:commentRss><wfw:comment>http://blogs.msdn.com/granth/rsscomments.aspx?PostID=8962986</wfw:comment><description>&lt;p&gt;Lately I’ve been doing quite a bit of work with Performance Monitor (or PerfMon for short) to monitor some performance counters on a collection of servers.&lt;/p&gt;  &lt;p&gt;PerfMon has the ability to log it’s counter collections directly to a SQL ODBC data store. The downside of this is that if the store is remote and it is unavailable for some reason, then you’ve lost that data. Another alternative is to log the data to a *.blg (binary) format on the local disk of the machine that you’re monitoring, then post-process it later.&lt;/p&gt;  &lt;p&gt;That’s what I’m doing. Every 24 hours I start a new .blg logfile (see screenshot below). Then at a convenient time I copy the directory log files onto another machine for post-processing using robocopy.&lt;/p&gt;  &lt;p&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Data Collector with limit set to 1 day" border="0" alt="Data Collector with limit set to 1 day" src="https://blogs.msdn.com/blogfiles/granth/WindowsLiveWriter/ReloggingPerfmonbinarylogfilestoSQL_10C6D/image_3.png" width="437" height="484" /&gt; &lt;/p&gt;  &lt;p&gt;One of the very useful tools that comes with Windows that I didn’t know about is “relog”.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="2" face="Courier New"&gt;Microsoft r Relog.exe (6.0.6000.16386) &lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font size="2" face="Courier New"&gt;Relog creates new performance logs from data in existing performance logs by changing the sampling rate and/or        &lt;br /&gt;converting the file format. Supports all performance log formats, including Windows NT 4.0 compressed logs. &lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font size="2" face="Courier New"&gt;Usage:        &lt;br /&gt;relog &amp;lt;filename [filename ...]&amp;gt; [options] &lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font size="2" face="Courier New"&gt;Parameters:        &lt;br /&gt;&amp;#160; &amp;lt;filename [filename ...]&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Performance file to relog. &lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font size="2" face="Courier New"&gt;Options:        &lt;br /&gt;&amp;#160; -?&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Displays context sensitive help.         &lt;br /&gt;&amp;#160; -a&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Append output to the existing binary file.         &lt;br /&gt;&amp;#160; -c &amp;lt;path [path ...]&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Counters to filter from the input log.         &lt;br /&gt;&amp;#160; -cf &amp;lt;filename&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; File listing performance counters to filter from the input log. Default is all         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; counters in the original log file.         &lt;br /&gt;&amp;#160; -f &amp;lt;CSV|TSV|BIN|SQL&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Output file format.         &lt;br /&gt;&amp;#160; -t &amp;lt;value&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Only write every nth record into the output file. Default is to write every record.         &lt;br /&gt;&amp;#160; -o&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Output file path or SQL database.         &lt;br /&gt;&amp;#160; -b &amp;lt;M/d/yyyy h:mm:ss[AM|PM]&amp;gt;&amp;#160; Begin time for the first record to write into the output file.         &lt;br /&gt;&amp;#160; -e &amp;lt;M/d/yyyy h:mm:ss[AM|PM]&amp;gt;&amp;#160; End time for the last record to write into the output file.         &lt;br /&gt;&amp;#160; -config &amp;lt;filename&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Settings file containing command options.         &lt;br /&gt;&amp;#160; -q&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; List performance counters in the input file.         &lt;br /&gt;&amp;#160; -y&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Answer yes to all questions without prompting. &lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font size="2" face="Courier New"&gt;Examples:        &lt;br /&gt;&amp;#160; relog logfile.csv -c &amp;quot;\Processor(_Total)\% Processor Time&amp;quot; -o logfile.blg         &lt;br /&gt;&amp;#160; relog logfile.blg -cf counters.txt -f bin         &lt;br /&gt;&amp;#160; relog logfile.blg -f csv -o logfile.csv -t 2         &lt;br /&gt;&amp;#160; relog logfile.blg -q -o counters.txt&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Relog gives you the ability to extract out the counters you care about and put them into another file. It also allows you to import the binary logfile format into a SQL store. You have to create a SQL Server ODBC System DSN for this to work. &lt;/p&gt;  &lt;p&gt;&lt;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://blogs.msdn.com/blogfiles/granth/WindowsLiveWriter/ReloggingPerfmonbinarylogfilestoSQL_10C6D/image_712976f1-93e7-46b7-96f0-a6302a8b8de5.png" width="514" height="359" /&gt; &lt;/p&gt;  &lt;p&gt;One of the things relog can do is summarize the data. If you collect performance counters every 1 minute and you want to summarize that data to the hour, use “-t 60” as a parameter.&lt;/p&gt;  &lt;p&gt;The command to relog from a *.blg logfile to a SQL database is:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="2" face="Courier New"&gt;relog logfile.blg -cf CounterList.txt -f SQL -o SQL:PDB!LogFileIdentifierHere&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;CounterList.txt is a text file that contains a list of counters that you care about, for example:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="2" face="Courier New"&gt;\\SERVERNAME\LogicalDisk(C:)\Avg. Disk sec/Transfer       &lt;br /&gt;\\SERVERNAME\LogicalDisk(C:)\Disk Bytes/sec        &lt;br /&gt;\\SERVERNAME\LogicalDisk(C:)\Disk Transfers/sec        &lt;br /&gt;\\SERVERNAME\Memory\Pages/sec        &lt;br /&gt;\\SERVERNAME\Processor(_Total)\% Processor Time        &lt;br /&gt;\\SERVERNAME\System\Processor Queue Length&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;And here’s my latest one-liner. This will take a directory of *.blg files, check to see if they’ve been relogged into the SQL database and if not, it will relog them. It uses the filename as the key for the log file identifier.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="2" face="Courier New"&gt;for %a in (*.blg) DO osql -o NUL -b -E -S (LOCAL) -d PDB -Q &amp;quot;EXIT(SELECT COUNT([GUID]) FROM DisplayToID WHERE DisplayString = '%a')&amp;quot; &amp;amp; IF NOT ERRORLEVEL 1 relog %a -cf CounterList.txt -f SQL -o SQL:PDB!%a&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;It makes use of &lt;a href="http://technet.microsoft.com/en-us/library/bb490909.aspx"&gt;FOR&lt;/a&gt;, &lt;a href="http://msdn.microsoft.com/en-us/library/ms162806.aspx"&gt;osql.exe&lt;/a&gt;, &lt;a href="http://technet.microsoft.com/en-us/library/bb490954.aspx"&gt;ERRORLEVEL&lt;/a&gt; and &lt;a href="http://technet.microsoft.com/en-us/library/bb490958.aspx"&gt;relog&lt;/a&gt;. All of which are available from the standard windows command prompt.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8962986" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/granth/archive/tags/Other/default.aspx">Other</category></item></channel></rss>