Export / Import a scheduled task

In this tutorial, I will tell you how to export and import a scheduled task. This tutorial applies to both Windows Server and the Desktop version (Windows 10). To illustrate this tutorial, I will export a scheduled task that runs a PowerShell script that allows restarting a computer. The scheduled task runs the ps-restartcomputer.ps1 script …

Read more



Manage the DNS cache on Windows Server

In this “tutorial”, I will give you some PowerShell cmdlets to manage your DNS server cache on Windows Server. To be more precise, we will see 4 cmdlet PowerShell * -DnsServerCache cmdlets. Show-DnsServerCache The first command displays the DNS cache: The output of the command gives all DNS records cached on the server. In console …

Read more



DISKPART : delete all partitions

In this tutorial, I will tell you how to delete all partitions from a hard drive with DISKPART. I am using this procedure to remove OEM partitions on computers from manufacturers like HP / DELL. Before performing this operation, make sure you have a backup of the data. Now that I have warned you, we …

Read more



WSUS : recreate the SUSDB database

In this tutorial, I will walk you through how to reset the WSUS service by recreating the SUSDB database on WID (Windows Internal Database) and the updates storage folder (WsusContent / UpdateServicesPackages). This type of operation can normally be done “without too much risk”, resetting WSUS will see us lose the history of updates on …

Read more



Windows firewall, force domain profile

In this tutorial, I will explain how to change the network profile of the firewall on Windows. It happens that after a restart, the profile of the firewall goes private, we will see how to change it back to the domain profile. The connection profile on a network adapter is especially useful when different firewall …

Read more



Windows Server 2016/2019 : disable automatic updates

Automatic updates disabled

In this “how to” tutorial, I will show you how to disable automatic updates on Windows Server 2016 and 2019. If we look in the Windows Update options in Windows settings, there is no option to disable or at least control the operation of updates. However, there is a simple way on Windows Server to …

Read more



WSUS : deploy Microsoft Edge

In this tutorial, I will walk you through how to install Microsoft Edge using WSUS services. Microsoft is ending support for Edge Lecagy on March 9, 2021, so it is imperative to deploy Microsoft Edge to ensure workstation security. Add the Microsoft Edge product to WSUS From the WSUS console, go to Options 1. Then …

Read more



Certify The Web: Easily Generate Let’s Encrypt Certificates for IIS

In this tutorial, I will tell you how to easily generate Let’s Encrypt certificates for IIS with Certify The Web software. I have already covered the topic of Let’s Encrypt certificates on IIS in Installing a Let’s Encrypt certificate on IIS and this one Let’s encrypt generate a PFX with IIS to generate pfx. With …

Read more



PowerShell: configure an IP address

In this tutorial, I will walk you through how to configure an IP address and DNS servers using PowerShell. The first step will be to retrieve the Index from the card. Enter the following Cmdlet to display the computer’s network cards: Get-NetAdapter We will therefore configure the card which has Index 2. IP address configuration …

Read more



Rename a computer with PowerShell

Rename-Computer

In this “how” tutorial I will explain how to rename a computer in PowerShell. Using PowerShell allows you to go more empty than going through the graphical interface which requires going through several configuration windows. Rename a computer with PowerShell In a PowerShell prompt use: Rename-Computer The PowerShell command to rename a computer is Rename-Computer. …

Read more