This script runs on an endpoint to check the expiration of domain. Recommended to run this script once per month on an internal endpoint for each domain you wish to monitor. This is a good reminder for domains which might be managed by third parties so you can cover for your clients in case a third party drops the ball. This is also useful for reminders on domains you manage if you prefer the email notifications.
Script requires a user to be logged in to run. Will download the whois program for windows. Then it will use this to get domain details and see if it will expire in the next 30 days. Domain and email address are prompted when script runs. Can report using $Domaincheck$, $DomainGood$, $DomainExpiring$, $DomainExpired$.