I recently posted a question about a problem I was having with my powershell script here. The helpful people here guided me to the solution which was using Redemption library.
After looking in to what Redemption is, and what it can do, I decided to give it a go and install the files. Now I'm facing the problem where I can't quite ComObjects of Redemption.
My Code:
$routlook = New-Object -COM Redemption.RDOSession
$routlook.Logon
$junk = $routlook.GetDefaultFolder($OlFolderJunk)
$MI = $box.items
$MI|select SenderName, SenderEmailAddress, To, Subject, Body
The goal is to just simply show the fields listed above in a table. I want to see the sender's name, the sender's e-mail address, the recipient, the subject and the content (or body)
The Return Value (The Error)
I'm assuming this has something to do with the the missing assembly reference? If so please explain how I add this library to the assembly, cause I'm quite new to Powershell scripting.
Thank you.
