AlexHimself / duckdns-ps

Better 1-line of code install DuckDNS PowerShell 5.1 updater that creates a scheduled task to automatically update IP address
https://www.duckdns.org
MIT License
0 stars 0 forks source link
ddns ddns-client ddns-updater dns duckdns dynamic-dns dyndns powershell scheduled-tasks

duckdns-ps

DuckDNS PowerShell will create a Windows Scheduled task to automatically update DuckDNS.org and it can be installed/uninstalled with one command!

Requirements

Windows Versions this script is supported out of the box with

Install/Update/Uninstall

Choose one of the two easy methods below to start the install/update/uninstall process.

If you already have the scheduled task created you will be prompted to uninstall first, and then you can choose to continue installing or exit.

Method 1 (easy)

From an ELEVATED (run as administrator) PowerShell prompt run the following command:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/AlexHimself/duckdns-ps/main/DuckDNS-Updater.ps1'))

Method 2 (almost as easy)

Download and run DuckDNS-Updater.ps1 manually as adminstrator.

Next Steps

You will then be prompted to enter the following:

image

Done! - Verify

To verify, open Windows Task Scheduler by either:

1. Open task scheduler by -

2. Confirm a new task DuckDNS.org exists!

Manual Uninstall

Open the task scheduler by following the steps above and right click and delete the DuckDNS.org scheduled task.