Remove all network printers from a workstation

The script allows you to delete all network printers on a workstation / server. ‘ ‘ RDR REMOVE NETWORK PRINTER ‘ ‘ ‘ Dim strComputer strComputer = “.” Set objWMIService = GetObject(“winmgmts:\\” & strComputer & “\root\cimv2”) Set colInstalledPrinters = objWMIService.ExecQuery (“Select * from Win32_Printer”) Set WshNetwork = WScript.CreateObject(“WScript.Network”) ‘msgbox “open script” ‘ Boucle sur les …

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

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

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

Linux: display logs in real time

In this “how” tutorial, I will explain how to display logs in real time saved in a file in SSH This type of manipulation is useful when you want to see what is happening in real time. To illustrate this tutorial, I used the access logs of an NGINX server. Use the tail -f command …

Read more

WordPress : installation on Nginx server

Presentation In this tutorial, I will walk you through how to install WordPress on an Nginx web server. Before you begin, you are going to need a web server with Nginx / PHP / MariaDB installed. If you need everything is explained in this tutorial: Ubuntu: install a web server – NGINX / PHP / …

Read more

Ubuntu: install Visual Studio Code

In this “How To” tutorial, we will see how to install the Microsoft Visual Studio Code IDE on Ubuntu. Open Ubuntu Software From the Unity desktop, open the Ubuntu application manager. Search for Visual Studio Code Click on the magnifying glass, to access the search area, enter visual studio and click on the VIsual Studio …

Read more

Testing the bandwidth on a local network with iPerf

IPerf overview iPerf is a client / server command line utility that allows you to perform bandwidth testing on a local network between two machines. iPerf will make it possible to perform a throughput test and to diagnose a possible bottleneck on a network between two points. By opening the appropriate ports, it is also …

Read more

GLPI : use Redis to optimize performance

In this tutorial, I will tell you about GLPI and optimization in order to get it in faster. I discovered quite by chance that GLPI is intended to use Redis … Before I explain how to use Redis, I will explain what Redis is. Redis is a key <-> value, high performance database system that …

Read more