It is quite common to deploy virtual machines from templates, which means their disks often need to be expanded afterward. I decided to leave this note here as a quick reference with the required commands for extending a partition on Astra Linux 1.8 using LVM. 1) Check the available disks 2) Force the system to…
SCCM Reporting Errors After Migrating from SQL Server 2016 to 2019
Recently, we performed a migration of the SCCM database from Microsoft SQL Server 2016 to SQL Server 2019. As part of the migration process, it was also necessary to upgrade SQL Server Reporting Services (SSRS), which is used by the SCCM Reporting Services Point role. Overall, the migration completed successfully and followed the documented procedure….
Problem Using PassFiltEx on Older CPUs
For quite a long time we have been using the PassFiltEx library for one of our customers to prevent users from setting weak passwords (the library checks passwords against blacklist dictionaries). Recently we needed to update the library and encountered a problem: on one of the domain controllers, after updating the library, the system started…
How to remove attachments from old calendar events in Exchange using a script
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 download and install Office 2024 LTSC
An example of how to download and install Office 2024 LTSC, Visio, Project and Skype for Business. You can view the list of product codes here. Configuration options are available here. If it complains that it cannot download, you can try doing this: I chose TSForge from the menu.
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…
How to Audit Seafile: SQL Scripts to Get User, Repository and Access Information
I needed to audit a personal Seafile cloud storage instance. Unfortunately, the web interface doesn’t provide a convenient way to export lists of users, repositories, etc. all at once. Therefore, I decided to extract all necessary information directly from the databases, as the structure is simple and there aren’t too many tables. While the built-in API could have been used, in this case I found the direct database approach simpler.
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….






