Simple parser in PS to parse multiple emails in a folder. Sometimes in IR you need to parse multiple emails and feed the headers in Splunk.
Execute in folder with *.msg files, headers will be saved in a TXT files with same name as email - e.g. Email1.msg, Email1.txt, etc.