Restart an RDS server member of a farm

This script allows you to reboot a server RDS member of a farm with a broker session by closing the still open sessions. Use : Change the two variables $ServerBroker and $ServerHost. Create a scheduled task by running the script on the remote desktop session host server. Using the script avoids ending up with xxxxx.BACKUP-Y …

Read more



WSUS: Remove Drivers from Updates

Not long ago, I wanted to enable driver updates through WSUS. When I saw the amount of drivers to download compared to the percentage used, I wanted to backtrack. The problem is that once you synchronize to the WSUS database, you have to approve or reject the files. The solution to remove all traces of …

Read more



Alert users to change their password

The following VBS script displays an alert to users at login that the password is soon to expire. The script Customizing the script line 2 : QtDiasAviso = 7 Number of days the message begins to appear line 3 : RedirectRdWeb = true True : opens the page defined in the UrlRDWEB variable when the …

Read more



Google Analytics: track outgoing clicks with jQuery

The script below allows you to track clicks to external links to your website. In addition, I leave you the code to track PNG image openings and zip file downloads.


WordPress: show similar articles without plugins

Introduction In this article, I propose a PHP function to display similar articles on your WordPress site. Following the hacking of the plugin Yuzo Related Post that I used on the site, I finally decided to do without plugin to do that. To have a demo, I invite you to browse the site to see …

Read more



Powershell: Automatically decline ARM64 Updates on WSUS

The PowerShell script below allows you to automatically decline ARM64 updates from Windows 10 into WSUS. The script can be started manually or by a scheduled task. The script must be running on the WSUS server. Works under: Windows 2012 and 2010R2 Windows 2016 To enable email notifications: Pass the $ EmailLog variable to $ …

Read more



PRTG: Hyper-V Statistics CPU and RAM Resource Allocation

This script creates a sensor in PRTG that displays the allocation of physical resources to virtual machines. Scripts can be used to monitor a standalone / clustered Hyper-V host and / or cluster. Canals : VM Count : number of virtual machines CPU allocated (%) : percentage of logical CPUs allocated to VMs. CPU assigned …

Read more



Powershell: Automatically decline Itanium Updates on WSUS

The PowerShell script below allows you to automatically decline Itanium updates in WSUS. The script can be started manually or by a scheduled task. The script must be run on the WSUS server. Works under: Windows 2008 et 2008R2 Windows 2012 et 2010R2 Windows 2016 To enable email notifications: Pass the $EmailLog variable to $True …

Read more