This tag covers a PowerShell script designed to track a laptop's external IP address and send an email notification when the IP changes, including a traceroute. The intended use is to help locate a lost or stolen laptop by providing the new IP to an ISP. Setup involves enabling PowerShell execution policy, running the script to configure email settings with a secure string password, and creating a recurring scheduled task running as SYSTEM. The content focuses on a practical, user-created script for laptop recovery, with no mention of enterprise IT, security updates, or AI.
-
I wrote this basic powershell script. The script tracks your laptop's external IP address, and if it changes it will send you an email with the new external IP and a traceroute. The intended purpose is to help locate your laptop if it is lost or stolen. An ISP would be able to determine who...