I use powershell one. Trying to read some data from the Pst file and I can not seem to remove some features for it, mail items, especially:
the recipient, the sender, the CC, the BCC, the body
For some reason when I try to use these properties with code, it appears blank Most of the other properties show other files (topics, attachments etc ...)
< P> I use the following code I am: $ objOutlook = new-object -ComObject Outlook.Application $ ns = $ objOutlook.GetNamespace ("MAPI") $ ns.AddStore ($ pst.FullName) $ folders = $ Folder $ folder store store = $ ns. [$ Pst.Name.Replace (".pst", "")]
From there I just get my mail items folders I'm using more items.
Any thoughts?
This gives the sender to me.
$ archiveStore.Items | % {$ _. SenderName}
Recipient, Sender, CC, BCC, Body?
No comments:
Post a Comment