<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Use PowerShell to Data Mine Your Outlook Sent Items</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/25/use-powershell-to-data-mine-your-outlook-sent-items.aspx</link><description>Summary : Microsoft Scripting Guy, Ed Wilson, teaches you how to use Windows PowerShell to data mine your Sent Items folder in Microsoft Outlook.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Use PowerShell to Data Mine Your Outlook Sent Items</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/25/use-powershell-to-data-mine-your-outlook-sent-items.aspx#3436055</link><pubDate>Fri, 17 Jun 2011 13:34:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3436055</guid><dc:creator>Craig Landis</dc:creator><description>&lt;p&gt;If you receive error message:&lt;/p&gt;
&lt;p&gt;Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005&lt;/p&gt;
&lt;p&gt;Make sure that Outlook and Powershell are either both running as a standard user (not elevated) or that they are both running elevated as Administrator. They need to be running at the same integrity level to avoid that error.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3436055" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Data Mine Your Outlook Sent Items</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/25/use-powershell-to-data-mine-your-outlook-sent-items.aspx#3435448</link><pubDate>Tue, 14 Jun 2011 20:15:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3435448</guid><dc:creator>jrv</dc:creator><description>&lt;p&gt;Steven - &lt;/p&gt;
&lt;p&gt;Change: &amp;#39;Select-Object -Property Subject, SentOn, Importance, To&amp;#39;&lt;/p&gt;
&lt;p&gt;To: &amp;nbsp;Select-Object *&lt;/p&gt;
&lt;p&gt;This will retrieve all properties available.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3435448" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Data Mine Your Outlook Sent Items</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/25/use-powershell-to-data-mine-your-outlook-sent-items.aspx#3435412</link><pubDate>Tue, 14 Jun 2011 17:28:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3435412</guid><dc:creator>Steven White</dc:creator><description>&lt;p&gt;&amp;quot;and I choose the four properties with which I want to work.&amp;quot;&lt;/p&gt;
&lt;p&gt;Does this mean that there are other properties? &amp;nbsp;If so, how would I find them. &amp;nbsp;I did try modifying the syntax of your script to see if I could obtain all properties, but I am not yet handy enough with Powershell to know how to do that successfully.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3435412" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Data Mine Your Outlook Sent Items</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/25/use-powershell-to-data-mine-your-outlook-sent-items.aspx#3431747</link><pubDate>Thu, 26 May 2011 08:53:15 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3431747</guid><dc:creator>Klaus Schulte</dc:creator><description>&lt;p&gt;Hi Aemon,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know why Add-Type thinks, that it must load version 12 of the Microsoft.Office.Interop.Outlook&amp;#39; assembly ... no idea!&lt;/p&gt;
&lt;p&gt;BUT: As I had the same problem with Outlook 2003, I looked for the strong name of the assembly and used it with Add-Type&lt;/p&gt;
&lt;p&gt;Add-Type -AssemblyName &amp;quot;Microsoft.Office.Interop.Outlook, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&amp;quot;&lt;/p&gt;
&lt;p&gt;this works for me!&lt;/p&gt;
&lt;p&gt;kind regards, Klaus&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3431747" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Data Mine Your Outlook Sent Items</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/25/use-powershell-to-data-mine-your-outlook-sent-items.aspx#3431681</link><pubDate>Wed, 25 May 2011 23:08:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3431681</guid><dc:creator>Aemon Murphy</dc:creator><description>&lt;p&gt;Hi Ed.&lt;/p&gt;
&lt;p&gt;We run Office 2003 here at work and I&amp;#39;ve had trouble getting this to run.&lt;/p&gt;
&lt;p&gt;here&amp;#39;s the first error:&lt;/p&gt;
&lt;p&gt;PS H:\&amp;gt; $sentItems = Get-OutlookSentItems&lt;/p&gt;
&lt;p&gt;Add-Type : Could not load file or assembly &amp;#39;Microsoft.Office.Interop.Outlook, Version=12.0.0.0, Culture=neutral, Public&lt;/p&gt;
&lt;p&gt;KeyToken=71e9bce111e9429c&amp;#39; or one of its dependencies. The system cannot find the file specified.&lt;/p&gt;
&lt;p&gt;At H:\Scripts\Get-OutlookSentItems.ps1:51 char:10&lt;/p&gt;
&lt;p&gt;+ &amp;nbsp;Add-type &amp;lt;&amp;lt;&amp;lt;&amp;lt; &amp;nbsp;-assembly &amp;quot;Microsoft.Office.Interop.Outlook&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;+ CategoryInfo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: NotSpecified: (:) [Add-Type], FileNotFoundException&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;+ FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.AddTypeCommand&lt;/p&gt;
&lt;p&gt;I figure it&amp;#39;s to do with Microsoft.Office.Interop version so I downloaded the Office 2003 Primary Interop Assemblies and installed them, still no luck.&lt;/p&gt;
&lt;p&gt;Any help you can give be would be great. I&amp;#39;m probably not the only person running 2003... or am I(embarrassing) &lt;/p&gt;
&lt;p&gt;Luv your work btw.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3431681" width="1" height="1"&gt;</description></item></channel></rss>