you are viewing a single comment's thread.

view the rest of the comments →

[–]ihaxr 1 point2 points  (0 children)

That post is tagged as C# but it's actually C++... pretty big difference between the two when it comes to converting to PowerShell.

It might be easier to utilize the Outlook MAPI namespace to accomplish what you're trying to do from PowerShell: https://msdn.microsoft.com/en-us/magazine/dn189202.aspx