Misc powershell bits
DiscordPost
Post basic machine info and public IP details to a Discord webhook
dp
Discord ping, pings a discord server when run. Discord webhook needs to be passed as enviroment varible.
LowDiskEmailAlert
As Windows has depricated email alerts, Here is a basic powershell oneliner that can be added to Scheduled tasks to send an alert email on a Windows low disk event. Can be cusomized for other events.
set-disk_offline.txt
How to Offline a disk which unmounts it from Windows