Another interesting task came up, which is a continuation of one of the previous ones. It was necessary to create a script that would remove attachments from old past meetings. The script is based on the same approach as before — attachments will be removed using EWS. Accordingly, the account running the script must have…
How to Collect Statistics on User Calendar Events Using a Script?
Recently, I received a highly non-standard request — a client with Exchange Server 2016 and Skype for Business 2015 needed to collect statistics on user calendar meetings. The goal was to gather data on what meetings were scheduled, who was the organizer and who the participants were, whether any attachments were included in the meeting…
Analyzing SMTP Logs in Microsoft Exchange with PowerShell
Some time ago, it became necessary to significantly modify the default Microsoft Exchange 2016 connectors related to authentication. After making these changes, it was essential to ensure they were functioning correctly and identify potentially problematic clients. To achieve this, I created a small script to analyze logs from all Exchange servers in the organization. I decided to save it here, as it can be useful to have an example of large-scale data collection from multiple servers at hand.
How to Manage Roles in Exchange: Useful Commands and Instructions
Sometimes, it’s necessary to modify roles in Exchange—for instance, to add or remove the ability to execute certain cmdlets for specific user groups. This article provides examples of commonly used commands that can serve as a handy reference, saving you the trouble of navigating through various sections of Microsoft’s documentation. Retrieving All Management Roles with…
How to Find Emails in Exchange by Keyword in All Mailboxes
Sometimes there’s a need to find an email in Exchange by keyword, but it’s unclear in which mailboxes it may be located. In such cases, you can perform a search across all mailboxes. This guide will show you how to do this, as well as how to set up administrator permissions for the search. 1….
Troubleshooting Email Deletion Errors After Exchange and WebSitePanel Updates
Encountering email deletion errors following Exchange or WebSitePanel updates? This comprehensive guide will assist you in swiftly resolving the issue. Identifying Problematic Mailboxes: Recent updates have triggered a crucial parameter shift – “UseDatabaseQuotaDefaults” is now set to “false,” inadvertently setting “RecoverableItemsQuota” and “RecoverableItemsWarningQuota” to 0 bytes. This triggers the frustrating deletion error. To locate mailboxes…


