lazywinadmin / Monitor-ADGroupMembership

PowerShell script to monitor Active Directory groups and send an email when someone is changing the membership
MIT License
264 stars 61 forks source link

added Encoding parameter with value Unicode #20

Closed ifmorrison closed 7 years ago

ifmorrison commented 7 years ago

Line 774 contains parameter Encoding with Unicode as value However previously on lines 632, 704, and 709 this value is not defined This means that there will be a mismatch for all users with unicode characters in their names, all of these users will be shown as removed and added, which will trigger emails for every group they are a member of.

By providing this parameter this issue is solved

lazywinadmin commented 7 years ago

Thanks @sometings ! Sorry again for the delay 🚶

ifmorrison commented 7 years ago

no worries :)