The script published by the Exchange Team requires an update when run on a system that does not use the en-US locale as Culture.
When the script analyses the saved log file information, a DateTime error is being thrown:
Cannot convert value “21/05/2010” to type “System.DateTime”
Version 2.1 of the script published by the Exchange Team works without the fix.
- 1.0, Initial community update
- Download and follow at Github: https://github.com/Apoc70/Get-TransactionLogStats
Additional credits go to Microsoft Exchange Team.