Exchange: add a database in PowerShell

Dans ce tutoriel, je vais vous expliquer comment ajouter une base de données sur un serveur Exchange en PowerShell. The use of PowerShell saves time because several manipulations are to be done, enter go through the ECP then on the list of services to restart a service for consideration. Add a database to Exchange in …

Read more

Microsoft 365: import pst into Exchange Online

In this tutorial, I will (re)show you how to import PSTs into Exchange Online, which is the messaging service available with Microsoft 365. A few years ago, I already covered this subject: Upload PST to Office 365 and import into accounts. The Microsoft 365 Admin Center having evolved a lot, I decided to redo the …

Read more

DFS: delete a namespace on Windows Server

In this tutorial, I will explain how to delete a DFS namespace on Windows Server. In the vast majority of cases, you won’t normally need this tutorial 😉 Although this operation is relatively simple to perform using the graphical interface, it sometimes happens that it does not go as planned, especially if you have planned …

Read more

Windows Server: configure an IP address on a network card

In this tutorial, I will explain how to configure an IP address on a network card on a Windows server. This operation is not complicated, but there are several solutions to achieve the same result that we will see in this tutorial. Use sconfig to configure an IP address sconfig for ServerConfig is a command …

Read more

Share a folder in PowerShell

Create a share with PowerShell: This tutorial explains how to share a folder in Powershell granting full access to Everyone. The folder to be shared must already exist on the server. Open a PowerShell window On the server, open a PowerShell command prompt as Administrator. Use the New-SmbShare cmdlet Enter the following command to create …

Read more

Ubuntu – Extend LVM partition and disk

In this tutorial, I will explain how to extend a disk’s partition and then the LVM disk. To understand what we are going to do in this tutorial, I have a virtual machine with Ubuntu Server 20.04 installed on an LVM disk, following the addition of data, I must increase the storage capacity, for that …

Read more

Exchange: optimize database space

In this tutorial, I will explain how to optimize the disk space used by the databases (MailboxDatabase) of Exchange. What you need to know is that the size of Exchange databases only increases and over time, “empty” spaces are created in the database files. Empty space is normally reused to store other data. Despite this …

Read more

DNS: delete a record on Windows Server

In this “How To” tutorial, I will explain how to delete a DNS record on Windows Server with the DNS Manager console. Delete a DNS record Open the DNS Manager console On a server where the DNS Manager console is installed, open it and go to the zone where you want to delete the record. …

Read more

Crowdsec: protecting Windows servers

In a previous tutorial, I explained how to protect your Linux servers with Crowdsec in order to block “malicious” traffic. For almost 2 months now, the Crowdsec version has been available for Windows. If you are not yet familiar with Crowdsec, here is a brief presentation: Crowdsec will analyze different log files (Web, firewall, SSH, …

Read more

Active Directory: change the KrbTgt account password

In this tutorial, I will explain how to change the password of the KrbTgt account. Before explaining how to change the password of this account, I will give you some explanations. Who is krbtgt? The krbtgt account is a disabled service account in the Active Directory, which is used for the distribution of Kerberos Tickets, …

Read more