Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Latest posts

Analyze Email Message Headers with PowerShell—Part 2
Aug 19, 2011
Post comments count 0
Post likes count 0

Analyze Email Message Headers with PowerShell—Part 2

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to analyze email headers and obtain detailed origination information.   Microsoft Scripting Guy Ed Wilson here. Guest Blogger Thiyagu continues with part 2 of his post about analyzing email headers with Windows PowerShell. See yesterdays’ post for information about Thiyagu and for the first part of the article. In part 1, we saw how to use Regex and parse the email message header. So far, we have a PSObject with all the required properties parsed from the email message header. Sometimes with certain types of headers, you will have another set of headers. Ins...