Opslag

Viser opslag fra september, 2019

Compress all BAK files in folder (and subfolders) with 7-Zip and delete original files

Run to fix

Uninstall app with PowerShell

Run this to uninstall app from Windows. I always put this script in a GPO which runs during Windows logoff, because of a forced reboot during uninstall.

If Hyper-V replica is not normal, or running, send email warning

This script will check health state of Hyper-V replication. Run this as scheduled task on your server doing Hyper-V replica. If status is not normal, or failing, it will send a SMTP warning email. Remember to update the first 3 lines with correct information.