File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 RootModule = ' MailDaemon.psm1'
44
55 # Version number of this module.
6- ModuleVersion = ' 1.0.0 '
6+ ModuleVersion = ' 1.0.1 '
77
88 # ID used to uniquely identify this module
99 GUID = ' d5ba333f-5210-4d69-83f0-150dd0909139'
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 1.0.1 (2023-10-06)
4+
5+ + Fix: Invoke-MDDaemon - errors trying to multiply timespan
6+
37## 1.0.0 (2023-10-05)
48
59+ General: Project Upgrade to the latest project template (including the tests).
Original file line number Diff line number Diff line change 8989 # region Cleanup expired mails
9090 foreach ($item in (Get-ChildItem - Path (Get-PSFConfigValue - FullName ' MailDaemon.Daemon.MailSentPath' )))
9191 {
92- if ($item.LastWriteTime -lt (Get-Date ).Add ((-1 * (Get-PSFConfigValue - FullName ' MailDaemon.Daemon.MailSentRetention' ))))
92+ if ($item.LastWriteTime -lt (Get-Date ).AddTicks ((-1 * (Get-PSFConfigValue - FullName ' MailDaemon.Daemon.MailSentRetention' ).Ticks )))
9393 {
9494 Remove-Item $item.FullName
9595 }
You can’t perform that action at this time.
0 commit comments