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

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

Vbs: Check if a user is part of a group

The function below is used to check if a user is part of an AD group. The function returns True or False. PS: pour fonctionner la fonction IsMember à besoin de la fonction EnvString(variable) Use :

PowerShell: Running Veeam backups.

The PowerShell script below allows you to run a Veeam backup. This type of script can be used with a schedule task to initiate a backup.