hawk
hawk copied to clipboard
Unable to load .msg file
Describe the bug When using the Get-HawkMessageHeader cmdlet I'm getting an error saying "Unable to load C:\Temp\Hawk\Emails\Test.msg"
To Reproduce
- Download test email as .msg and save to local path
- Open PowerShell
- Run Get-HawkMessageHeader -MSGFile 'C:\Temp\Hawk\Emails\Test.msg'
- See output as... [5/18/2024 3:56:29 PM] - Script Variable Configured [5/18/2024 3:56:29 PM] - *** Version 3.1.0 *** [5/18/2024 3:56:29 PM] - @{FilePath=C:\Temp\Hawk\Hawk_domain_20240518_1556; DaysToLookBack=; StartDate=02/18/2024 00:00:00; EndDate=05/19/2024 00:00:00; AdvancedAzureLicense=True; WhenCreated=5/18/2024 3:56 PM; EULA=Agreed 05/18/2024 15:56:00} [5/18/2024 3:56:29 PM] - [ACTION] - Reading message header from file C:\Temp\Hawk\Emails\Test.msg [5/18/2024 3:56:29 PM] - Unable to load C:\Temp\Hawk\Emails\Test.msg [5/18/2024 3:56:29 PM] -
Expected behavior First time using Hawk so unsure of normal output, but not expecting error message. Outlook is installed and there are no obvious errors or warnings in the Event Logs to aid troubleshooting.
Need to test and see if we can reproduce the above results. If not then we need to write documentation that walks through how to run this feature. @jonnybottles