David-Barrett-MS / PowerShell-EWS-Scripts

A collection of PowerShell scripts that use EWS to perform actions against Exchange mailboxes
MIT License
119 stars 13 forks source link

Confusion about "createdBeforeDate" vs "createdAfterDate" #41

Closed MEM-85 closed 8 months ago

MEM-85 commented 11 months ago

Search-Appointments.ps1, Line 1114, Row 171 is "$createdBeforeDate" but it should be "$createdAfterDate" ;-)

https://github.com/David-Barrett-MS/PowerShell-EWS-Scripts/blob/991516f562600b938cca4f3ef73517c8eed11482/Legacy/Search-Appointments.ps1#L1114C180-L1114C180

David-Barrett-MS commented 8 months ago

The dangers of copy/paste. :) Thanks for letting me know, this is fixed in version 1.2.2 (which will be published within a couple of weeks).