<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>thebackroomtech &#187; powershell</title>
	<atom:link href="http://thebackroomtech.com/tag/powershell/feed/" rel="self" type="application/rss+xml" />
	<link>http://thebackroomtech.com</link>
	<description>serving up the info back room techs everywhere find interesting</description>
	<lastBuildDate>Sat, 20 Nov 2010 03:13:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Capturing Virtual Machine Blue Screens via Powershell</title>
		<link>http://thebackroomtech.com/2009/05/07/capturing-virtual-machine-blue-screens-via-powershell/</link>
		<comments>http://thebackroomtech.com/2009/05/07/capturing-virtual-machine-blue-screens-via-powershell/#comments</comments>
		<pubDate>Thu, 07 May 2009 14:27:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[script]]></category>
		<category><![CDATA[.ps1]]></category>
		<category><![CDATA[Blue Screen]]></category>
		<category><![CDATA[BSOD]]></category>
		<category><![CDATA[OCR]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[screen shot]]></category>
		<category><![CDATA[screeshot]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[vm]]></category>

		<guid isPermaLink="false">http://thebackroomtech.com/?p=1720</guid>
		<description><![CDATA[Eric Sloof at ntpro.nl has a nice post on how to capture screen shots of virtual machine blue screens using Powershell.  You can find the code here. He then incorporated a Powershell script from Carter Shanklin that pushes a screenshot through Microsoft Office Document Imaging Library (MODI), OCR software found in Office 2003+, to extract [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Eric Sloof at <a href="http://www.ntpro.nl/">ntpro.nl</a> has a <a href="http://www.ntpro.nl/blog/archives/1097-Big-Brother-Really-Is-Watching.html">nice post</a> on how to capture screen shots of virtual machine blue screens using Powershell.  You can find the code <a href="http://www.ntpro.nl/blog/uploads/Get-ScreenShot-Copy9.ps1">here</a>.</p>
<p>He then incorporated a Powershell script from <a href="http://www.twitter.com/cshanklin">Carter Shanklin</a> that pushes a screenshot through <a href="http://www.codeproject.com/KB/office/modi.aspx?fid=172151&amp;df=90&amp;mpp=25&amp;noise=3&amp;sort=Position&amp;view=Quick&amp;fr=76&amp;select=1629759">Microsoft Office Document Imaging Library</a> <em>(MODI),</em> OCR software found in Office 2003+, to extract the text from the image.</p>
<p>Very nice. Definitely go <a href="http://www.ntpro.nl/blog/uploads/vmbsd.ps1">download his application</a>, the Virtual Machine Blue Screen Detector.  Detailed post <a href="http://www.ntpro.nl/blog/archives/1100-Virtual-Machine-Blue-Screen-detector.html">here</a>.</p>
<p>The final product, which reads out the BSOD can be found <a href="http://www.ntpro.nl/blog/uploads/vmbsd1.ps1">here</a>.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2010/05/05/script-to-gracefully-power-off-a-vm-guest/" title="Script to gracefully power off a VM guest">Script to gracefully power off a VM guest</a></li><li><a href="http://thebackroomtech.com/2008/08/08/powershell-script-to-change-from-static-to-dynamic-ip-addressing/" title="Powershell script to change from static to dynamic IP addressing">Powershell script to change from static to dynamic IP addressing</a></li><li><a href="http://thebackroomtech.com/2010/06/17/counting-the-number-of-files-in-a-directory-command-line-style/" title="Counting the number of files in a directory, command line style">Counting the number of files in a directory, command line style</a></li><li><a href="http://thebackroomtech.com/2009/12/07/script-to-remotely-list-windows-local-administrator-group-membership/" title="Script to remotely list Windows local administrator group membership">Script to remotely list Windows local administrator group membership</a></li><li><a href="http://thebackroomtech.com/2009/11/16/script-to-find-and-email-files-in-a-directory/" title="Script to find and email files in a directory">Script to find and email files in a directory</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2009/05/07/capturing-virtual-machine-blue-screens-via-powershell/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Powershell script to change from static to dynamic IP addressing</title>
		<link>http://thebackroomtech.com/2008/08/08/powershell-script-to-change-from-static-to-dynamic-ip-addressing/</link>
		<comments>http://thebackroomtech.com/2008/08/08/powershell-script-to-change-from-static-to-dynamic-ip-addressing/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 10:35:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[script]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/?p=578</guid>
		<description><![CDATA[I&#8217;ve been working on validating an email server migration plan which has required utilizing test servers isolated from the production network.  Because they are offnet, I have to frequently switch my laptop from the production to test networks, which involves reconfiguring my network card from dynamic to static IP addresses. I could use Windows XP&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve been working on validating an email server migration plan which has required utilizing test servers isolated from the production network.  Because they are offnet, I have to frequently switch my laptop from the production to test networks, which involves reconfiguring my network card from dynamic to static IP addresses.</p>
<p>I could use Windows XP&#8217;s alternate IP addressing capability to change IP addresses, but I find it takes several minutes for XP to make the automatic changeover.  I wanted to create a configuration script that would make the desired changes so that I could save shortcuts to those scripts on my desktop, which would allow for quick NIC setting modifications.</p>
<p>I originally tried to use the netsh command to specify NIC settings, but despite all the example syntax I found online, I was only able to get the static to dynamic changes to work, not the dynamic to static.</p>
<p>I finally decided to use Powershell to make these changes.  I found the <a href="http://www.powershellpro.com/powershell-tutorial-introduction/powershell-wmi-methods/" target="_blank">following scripts at PowerShell Pro </a>and modified them ever so slightly for my own use.</p>
<p>### set static IP addressing &#8211; save as setstatic.ps1<br />
$NICs = Get-WMIObject Win32_NetworkAdapterConfiguration `<br />
| where{$_.IPEnabled -eq &#8220;TRUE&#8221;}<br />
Foreach($NIC in $NICs) {<br />
  $NIC.EnableStatic(&#8220;192.168.1.5&#8243;, &#8220;255.255.255.0&#8243;)<br />
  $NIC.SetGateways(&#8220;192.168.1.254&#8243;)<br />
  $DNSServers = &#8220;198.168.1.1&#8243;,&#8221;198.168.1.1&#8243;<br />
  $NIC.SetDNSServerSearchOrder($DNSServers)<br />
  $NIC.SetDynamicDNSRegistration(&#8220;FALSE&#8221;)<br />
}<br />
###</p>
<p>### set dynamic addressing &#8211; save as setdynamic.ps1<br />
$NICs = Get-WMIObject Win32_NetworkAdapterConfiguration `<br />
| where{$_.IPEnabled -eq &#8220;TRUE&#8221;}<br />
Foreach($NIC in $NICs) {<br />
 $NIC.EnableDHCP()<br />
 $NIC.SetDNSServerSearchOrder()<br />
}<br />
###</p>
<p>I then created shortcuts to the two .ps1 files using the following targets:</p>
<p>%windir%\system32\WindowsPowerShell\v1.0\powershell.exe c:\scripts\setdynamic.ps1</p>
<p>%windir%\system32\WindowsPowerShell\v1.0\powershell.exe c:\scripts\setstatic.ps1</p>
<p>I saved each shortcut to my desktop, and now I can switch IP addresses in about 15 seconds.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/05/07/capturing-virtual-machine-blue-screens-via-powershell/" title="Capturing Virtual Machine Blue Screens via Powershell">Capturing Virtual Machine Blue Screens via Powershell</a></li><li><a href="http://thebackroomtech.com/2010/06/17/counting-the-number-of-files-in-a-directory-command-line-style/" title="Counting the number of files in a directory, command line style">Counting the number of files in a directory, command line style</a></li><li><a href="http://thebackroomtech.com/2010/05/05/script-to-gracefully-power-off-a-vm-guest/" title="Script to gracefully power off a VM guest">Script to gracefully power off a VM guest</a></li><li><a href="http://thebackroomtech.com/2009/12/07/script-to-remotely-list-windows-local-administrator-group-membership/" title="Script to remotely list Windows local administrator group membership">Script to remotely list Windows local administrator group membership</a></li><li><a href="http://thebackroomtech.com/2009/11/16/script-to-find-and-email-files-in-a-directory/" title="Script to find and email files in a directory">Script to find and email files in a directory</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2008/08/08/powershell-script-to-change-from-static-to-dynamic-ip-addressing/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Getting started with Powershell for system administration</title>
		<link>http://thebackroomtech.com/2008/07/21/getting-started-with-powershell-for-system-administration/</link>
		<comments>http://thebackroomtech.com/2008/07/21/getting-started-with-powershell-for-system-administration/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 05:44:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[script]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/?p=431</guid>
		<description><![CDATA[SynJunkie has written a nice, detailed post that shows some of the administrative tasks that can be performed with Powershell.  He shows how to perform many different system administration functions, from editing the registry to filtering event logs. If you&#8217;ve never used Powershell before, I&#8217;d recommend you check it out.  It&#8217;s a free download from Microsoft, and is available [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>SynJunkie has written a nice, detailed <a href="http://synjunkie.blogspot.com/2008/07/powershell.html" target="_blank">post</a> that shows some of the administrative tasks that can be performed with Powershell.  He shows how to perform many different system administration functions, from editing the registry to filtering event logs.</p>
<p>If you&#8217;ve never used Powershell before, I&#8217;d recommend you check it out.  It&#8217;s a free download from Microsoft, and is available for <a href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;p=1&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=&amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d6ccb7e0d-8f1d-4b97-a397-47bcc8ba3806%26DisplayLang%3den" target="_blank">Windows XP</a> and <a href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;p=4&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=&amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3dc6ef4735-c7de-46a2-997a-ea58fdfcba63%26DisplayLang%3den" target="_blank">Windows Vista</a>, <a href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;p=8&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=&amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3daf37d87d-5de6-4af1-80f4-740f625cd084%26DisplayLang%3den" target="_blank">Windows Vista x64</a>, <a href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;p=2&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=&amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d10ee29af-7c3a-4057-8367-c9c1dab6e2bf%26DisplayLang%3den" target="_blank">Windows Server 2003</a>, and <a href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;p=3&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=&amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d8913eec8-b8ad-4889-ad85-a113f13441c5%26DisplayLang%3den" target="_blank">Windows Server 2003 x64</a>.  Powershell is built into Windows Server 2008.</p>
<p>You can also download the <a href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;p=6&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=&amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3db4720b00-9a66-430f-bd56-ec48bfca154f%26DisplayLang%3den" target="_blank">Windows PowerShell 1.0 Documentation Pack</a>. The Documentation Pack includes the Windows PowerShell Getting Started Guide, the Windows PowerShell Primer, the Windows PowerShell Language Quick Reference, and Windows PowerShell V1.0 Release Notes.</p>
<p>The <a href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;p=10&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=&amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3ddf8ed469-9007-401c-85e7-46649a32d0e0%26DisplayLang%3den" target="_blank">Windows PowerShell Quick Reference</a>, which is a quick reference guide to commonly-used Windows PowerShell commands, is also available as a separate download.  You can also get the <a href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;p=12&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=&amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d3b3f7ce4-43ea-4a21-90cc-966a7fc6c6e8%26DisplayLang%3den" target="_blank">Windows PowerShell Graphical Help File</a>, which is the Windows PowerShell help in graphical help format (.chm file).</p>
<p>Lastly, Frank Koch has written two Powershell books that are available as a free download.  The first one is subtitled &#8220;An introduction to scripting technologies for people with no real background knowledge&#8221;, and is available <a href="http://blogs.msdn.com/powershell/archive/2007/05/11/free-powershell-book.aspx" target="_blank">here</a>.  The second book focuses on server administration, and can be found <a href="http://blogs.technet.com/chitpro-de/archive/2008/02/28/free-windows-powershell-workbook-server-administration.aspx" target="_blank">here</a>.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/05/07/capturing-virtual-machine-blue-screens-via-powershell/" title="Capturing Virtual Machine Blue Screens via Powershell">Capturing Virtual Machine Blue Screens via Powershell</a></li><li><a href="http://thebackroomtech.com/2008/08/08/powershell-script-to-change-from-static-to-dynamic-ip-addressing/" title="Powershell script to change from static to dynamic IP addressing">Powershell script to change from static to dynamic IP addressing</a></li><li><a href="http://thebackroomtech.com/2008/05/22/running-powershell-on-windows-server-2008-core/" title="Running Powershell On Windows Server 2008 Core">Running Powershell On Windows Server 2008 Core</a></li><li><a href="http://thebackroomtech.com/2008/04/03/vmware-vi-toolkit-for-windows-beta-is-now-available/" title="VMware VI Toolkit for Windows Beta is now available">VMware VI Toolkit for Windows Beta is now available</a></li><li><a href="http://thebackroomtech.com/2007/06/19/message-tracking-in-microsoft-exchange-using-powershell/" title="Howto: Filter Message Tracking logs in Microsoft Exchange using Powershell">Howto: Filter Message Tracking logs in Microsoft Exchange using Powershell</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2008/07/21/getting-started-with-powershell-for-system-administration/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Running Powershell On Windows Server 2008 Core</title>
		<link>http://thebackroomtech.com/2008/05/22/running-powershell-on-windows-server-2008-core/</link>
		<comments>http://thebackroomtech.com/2008/05/22/running-powershell-on-windows-server-2008-core/#comments</comments>
		<pubDate>Thu, 22 May 2008 13:31:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/?p=344</guid>
		<description><![CDATA[While being an unwilling participant in an excessively long conference call I was able to get Powershell up and running on my Server Core box, thanks to Dmitry&#8217;s detailed instructions. Of course this is an unsupported configuration, which means Microsoft won&#8217;t help you if you experience problems. Related PostsHowto: Enable Automatic Updates in Windows 2008 [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>While being an unwilling participant in an excessively long conference call I was able to get Powershell up and running on my Server Core box, thanks to <a href="http://dmitrysotnikov.wordpress.com/2008/05/15/powershell-on-server-core/" target="_blank">Dmitry&#8217;s detailed instructions</a>.</p>
<p>Of course this is an unsupported configuration, which means Microsoft won&#8217;t help you if you experience problems.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2008/03/19/howto-enable-automatic-updates-in-windows-2008-server-core/" title="Howto: Enable Automatic Updates in Windows 2008 Server Core">Howto: Enable Automatic Updates in Windows 2008 Server Core</a></li><li><a href="http://thebackroomtech.com/2008/03/18/howto-configure-the-windows-2008-server-core-screensaver-activation-period/" title="Howto: Configure the Windows 2008 Server Core Screensaver Activation Period">Howto: Configure the Windows 2008 Server Core Screensaver Activation Period</a></li><li><a href="http://thebackroomtech.com/2008/03/17/howto-enable-remote-desktop-on-a-windows-2008-server-core-system/" title="Howto: Enable Remote Desktop on a Windows 2008 Server Core System">Howto: Enable Remote Desktop on a Windows 2008 Server Core System</a></li><li><a href="http://thebackroomtech.com/2008/03/14/howto-shut-down-or-reboot-a-windows-2008-server-core-system/" title="Howto: Shut down or reboot a Windows 2008 Server Core System">Howto: Shut down or reboot a Windows 2008 Server Core System</a></li><li><a href="http://thebackroomtech.com/2008/03/12/creating-backups-of-windows-2008-server-core-machines/" title="Creating Backups of Windows 2008 Server Core Machines">Creating Backups of Windows 2008 Server Core Machines</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2008/05/22/running-powershell-on-windows-server-2008-core/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware VI Toolkit for Windows Beta is now available</title>
		<link>http://thebackroomtech.com/2008/04/03/vmware-vi-toolkit-for-windows-beta-is-now-available/</link>
		<comments>http://thebackroomtech.com/2008/04/03/vmware-vi-toolkit-for-windows-beta-is-now-available/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 05:51:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[utilities]]></category>
		<category><![CDATA[cmdlets]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/?p=306</guid>
		<description><![CDATA[The VMware VI Toolkit for Windows Beta is now available for download. The toolkit provides cmdlets for managing, monitoring, automating, and handling life-cycle operations for VMware Infrastructure components &#8211; virtual machines, datacenters, storage, networks, etc. Less experienced administrators can use PowerShell commands included in the VI Toolkit to manage their VMware virtual infrastructure from the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>The <a href="http://communities.vmware.com/community/developer/windows_toolkit" target="_blank">VMware VI Toolkit for Windows Beta</a> is now available for download.  The toolkit provides cmdlets for managing, monitoring, automating, and handling life-cycle operations for VMware Infrastructure components &#8211; virtual machines, datacenters, storage, networks, etc.</p>
<p>Less experienced  administrators can use PowerShell commands included in the VI Toolkit to manage their VMware virtual infrastructure from the command line.  Advanced administrators can develop PowerShell scripts that may be reused by other administrators or integrated into other applications.</p>
<p>The VI Toolkit for Windows 1.0 ships with 101 cmdlets: 97 PowerShell-based cmdlets and 4 Microsoft .NET cmdlets for use through PowerShell &#8211; The so called Web Service Access Cmdlets.</p>
<p>You can launch the VI Toolkit (for Windows) Console in one of two ways:</p>
<ol>
<li>
<div>From the Start menu, click Programs &gt; VMware &gt; VMware Infrastructure Toolkit &gt; VMware VI Toolkit.</div>
</li>
<li>
<div>Double-click the desktop icon (if you have chosen the option at installation). The VI Toolkit console window opens in a PowerShell window.</div>
</li>
</ol>
<p>For more information see the <a href="http://communities.vmware.com/servlet/JiveServlet/downloadBody/3740-102-1-2674/VI%20Toolkit%20(for%20Windows)%20Admin%20Guide.pdf" target="_blank">VI toolkit for Windows Admin guide</a> or the VMware community <a href="http://communities.vmware.com/community/developer/windows_toolkit?view=discussions&amp;numResults=15" target="_blank">discussions</a>.  Don&#8217;t forget to download and install <a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx" target="_blank">Windows Powershell</a> before using this toolkit.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2010/07/08/vmware-converter-p2v-fails-with-fatal-error/" title="VMware Converter P2V Fails with Fatal Error">VMware Converter P2V Fails with Fatal Error</a></li><li><a href="http://thebackroomtech.com/2010/06/28/fix-incompatible-device-specified-for-device-0-when-cold-migrating-vmware-guest/" title="Fix: Incompatible device specified for device &#8217;0&#8242; when cold migrating VMware guest">Fix: Incompatible device specified for device &#8217;0&#8242; when cold migrating VMware guest</a></li><li><a href="http://thebackroomtech.com/2010/05/05/script-to-gracefully-power-off-a-vm-guest/" title="Script to gracefully power off a VM guest">Script to gracefully power off a VM guest</a></li><li><a href="http://thebackroomtech.com/2009/10/01/network-card-configuration-missing-after-p2v-using-vmware-converter/" title="Network card configuration missing after P2V using VMware Converter">Network card configuration missing after P2V using VMware Converter</a></li><li><a href="http://thebackroomtech.com/2009/08/12/howto-reset-a-lost-vmware-guest-password/" title="Howto: Reset a lost VMware guest password">Howto: Reset a lost VMware guest password</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2008/04/03/vmware-vi-toolkit-for-windows-beta-is-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: Filter Message Tracking logs in Microsoft Exchange using Powershell</title>
		<link>http://thebackroomtech.com/2007/06/19/message-tracking-in-microsoft-exchange-using-powershell/</link>
		<comments>http://thebackroomtech.com/2007/06/19/message-tracking-in-microsoft-exchange-using-powershell/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 15:11:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/2007/06/19/message-tracking-in-microsoft-exchange-using-powershell/</guid>
		<description><![CDATA[Today I&#8217;ve been working with a vendor, trying to figure out why not all of my client&#8217;s users are receiving a certain notification email. I enabled message tracking in Exchange 2003, but it creates a log file that&#8217;s in a fairly unreadable format. I found this post that describes using the Microsoft Log Parser utility [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Today I&#8217;ve been working with a vendor, trying to figure out why not all of my client&#8217;s users are receiving a certain notification email. I <a href="http://support.microsoft.com/kb/821905" target="_blank">enabled message tracking</a> in Exchange 2003, but it creates a log file that&#8217;s in a fairly unreadable format.</p>
<p>I found <a href="http://msexchangetips.blogspot.com/2006/09/exchange-exporting-and-querying.html" target="_blank">this post</a> that describes using the Microsoft <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;displaylang=en" target="_blank">Log Parser</a> utility to run SQL queries against the message tracking logs. Even after reading the documentation and <a href="http://www.logparser.com" target="_blank">unofficial Log Parser reference</a> site, I was having difficulties constructing the queries; I just wanted to know who received the email and what date and time they got it.</p>
<p>WindowsITpro.com had an <a href="http://www.windowsitpro.com/Article/ArticleID/48414/48414.html" target="_blank">article</a> on Log Parser, but since I don&#8217;t subscribe to their site, I only got the first few paragraphs of the article.</p>
<p><a href="http://anonymoos.com/logparser.php" target="_blank">This batch file generator</a> gave me too much information. It seemed like exporting this information was way more difficult than it should have been.</p>
<p>Then I came across <a href="http://gsexdev.blogspot.com/2006/10/byo-message-tracking-center-with.html" target="_blank">this Powershell script Glen wrote</a> that generates a form that allows you filter the message tracking log files based on your criteria. It took all of three minutes to download and run, and I was able to save the information into a .csv file. Brilliant!</p>
<p>One more thing&#8230; if you want to use message tracking on an Exchange 2000 cluster, see Microsoft <a href="http://support.microsoft.com/kb/327977/en-us" target="_blank">KB327977</a>. And if your inetinfo.exe utilization suddenly goes through the roof, check out Microsoft <a href="http://support.microsoft.com/kb/811409/en-us" target="_blank">KB811409</a>. Both of these issues appear to be resolved in <a href="http://support.microsoft.com/kb/813840/EN-US/" target="_blank">KB813840</a>.</p>
<p>[updated 06-29-2007]</p>
<p>I found another  <a href="http://www.arconi.com/Exchange_Log_Searcher.html" target="_blank">Exchange log search tool</a>.  It doesn&#8217;t use Powershell, and I haven&#8217;t used it personally, but I would love to hear if it works or not.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2010/08/19/configure-message-size-limits-in-exchange-2010/" title="Configure Message Size Limits in Exchange 2010">Configure Message Size Limits in Exchange 2010</a></li><li><a href="http://thebackroomtech.com/2009/08/12/howto-reset-a-lost-vmware-guest-password/" title="Howto: Reset a lost VMware guest password">Howto: Reset a lost VMware guest password</a></li><li><a href="http://thebackroomtech.com/2009/06/11/howto-export-a-list-of-all-computers-in-an-ad-ou/" title="HowTo: Export a list of all computers in an AD OU">HowTo: Export a list of all computers in an AD OU</a></li><li><a href="http://thebackroomtech.com/2009/05/07/capturing-virtual-machine-blue-screens-via-powershell/" title="Capturing Virtual Machine Blue Screens via Powershell">Capturing Virtual Machine Blue Screens via Powershell</a></li><li><a href="http://thebackroomtech.com/2009/04/29/howto-enable-debug-logging-for-backup-exec-for-windows-servers/" title="Howto: Enable debug logging for Backup Exec for Windows Servers">Howto: Enable debug logging for Backup Exec for Windows Servers</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2007/06/19/message-tracking-in-microsoft-exchange-using-powershell/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 28/56 queries in 0.017 seconds using disk: basic
Object Caching 785/829 objects using disk: basic

Served from: thebackroomtech.com @ 2012-05-22 22:30:27 -->
