PowerShell: show the contents of a text file

In this tutorial, I will show you how to display the contents of a text file (txt, yaml, php, vbs…) in a PowerShell window. In fact, it’s very simple, just use the Cmdlet Get-Content and specify the file name. Which give : If you are familiar with the cat command in Linux, you can also …

Read more

Outlook 2016: Office 365 authentication white window – Solution

With Windows 7 and Office 2016 couple, a white window is displayed when authenticating with an Office 365 account. This is due to the non-activation of the TLS 1.1 and TLS 1.2 protocol on WinHTTP. To solve the problem, apply the Microsoft Easy Fix 51044. Once applied, restart the account configuration, the authentication form is …

Read more

Use the hosts file to simulate a DNS record on Windows

Location of the hosts file : C:\Windows\System32\drivers\etc. Pour ajouter un enregistrement : 1. Start notepad as administrator. 2. Open the hosts file located in C:\Windows\System32\drivers\etc. To display the hosts file which has no extension it is necessary to select All files (*. *) 3. Add a record in the form: 4. Save and close the …

Read more

Windows 10: install Windows Terminal

In this “how to” tutorial, I will explain how to install the Windows Terminal application available on Windows 10. Before launching into the “technical” part, I will first introduce you to Windows Terminal. Windows Terminal is an application which groups together all the command windows (CMD, PowerShell, WSL) in a single application and which allows …

Read more

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

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

Windows 10 : use the native SSH client

On Windows 10, there is a native SSH client that can be used in a command prompt, PowerShell prompt, or Terminal. At the end of this tutorial, you will no longer need Putty if you are using it exclusively for logging in via SSH. Check if the client is installed The easiest way to check …

Read more

Windows 10 : Choose the graphics card for software

In this tutorial, I will explain how to select the graphics card that will be used on software on Windows 10. This manipulation is to be done mainly on laptops which are equipped with several graphics cards. On mid-range and high-end laptops, they are often equipped with 2 graphics cards: Low consumption with limited performance …

Read more

Hyper-V : create a NAT switch

Microsoft Hyper-v

In this tutorial, I will explain how to create a NAT switch (virtual switch) on Hyper-V. Before getting into the technical explanations, I will explain in a few words, what a NAT switch is. If you have already used another hypervisor such as vmware or virtualbox for example, this type of switch is available by …

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