GPO: Run PowerShell script at logon

In this tutorial, I will show you how to run a PowerShell script at user logon using Group Policy (GPO) in an Active Directory environment. Before you begin this tutorial, here are some considerations when running scripts at login: In this tutorial I will use a pretty simple script, it will just create an entry …

Read more

GPO: Run a PowerShell script when the computer starts

In this tutorial, I will show you how to run a PowerShell script when your computer starts. For this example, I created a “simple” PowerShell script that will create an entry in the Windows Event Log. Here is the script: Before you begin, copy your script file to the domain controller you will use to …

Read more

Exchange puts a DAG node into maintenance

Scripts to run on one of the DAG nodes. Script locations: Open a powershell window. Navigate to the script folder: Call the script for maintenance: To take the node out of mode now, you need to call the following script: During maintenance, the script transfers all active databases to another node of the DAG and …

Read more

Windows Server 2025: Install and configure a DHCP server

In this tutorial dedicated to Windows Server 2025, I suggest you see or review how to install the DHCP Server role in order to provide automatic IP configuration to the computers on your network. If you are familiar with the DHCP service in Windows Server, the implementation in Windows Server is identical. Before getting into …

Read more

Ubuntu 24.04: Installing Docker and Docker compose

In this tutorial, I will explain how to install Docker and Docker Compose from the official Docker sources. Au moment de la rédaction de ce tutoriel, Ubuntu 24.04 vient tout juste de sortir et Docker est déjà disponible sur les dépôt On the Docker documentation, you have to pass several command lines to first install …

Read more

Deploy Guacamole in a container with Docker and docker-compose

In this tutorial, I will explain how to deploy Guacamole in a container using Docker and docker-compose. In my first Guacamole tutorial available here, I explained how to install Guacamole directly on Ubuntu. As you will see, deploying Guacamole in a container is very simple and fast. Maintaining the application is also easier, especially for …

Read more

Exchange: convert a shared mailbox into a user mailbox

In this tutorial, I will show you how to convert a shared mailbox to a user mailbox on Exchange using PowerShell. It happens that for the needs of consulting a shared mailbox on mobile, users request a change of mailbox type. Mobile applications do not allow you to view shared mailboxes unless you go through …

Read more

GLPI 10: link with an Active Directory

Presentation In this tutorial, I will explain how to link GLPI 10 with an Active Directory to allow users to log in with their domain account. This link will allow you to synchronize users in GLPI, if you use an email collector, this allows you to provision user accounts and allows the import of emails …

Read more

Nginx: resolve error: could not build optimal proxy_headers_hash

In this article, I will explain how to fix the could not build optimal proxy_headers_hash error on Nginx when doing a configuration test with nginx -t. This warning is displayed when publishing several dozen virtualhosts on Nginx in reverse proxy. To solve this problem, you need to increase the value of the following parameters: Open …

Read more

Create a sub-certificate authority with AD CS

In this tutorial, I will explain how to create a sub CA with Windows AD CS. Sub-CAs are underused on firewalls when SSL decryption is implemented, generating a sub-CA with Windows AD CS allows you to avoid deploying the firewall certificate if you have already deployed the root certificate. Before you begin, verify that the …

Read more