Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
deb13:haconfig [2026/09/12 15:15] – [Powershell] Bernard Condraudeb13:haconfig [2026/09/12 15:16] (current) – [Powershell] Bernard Condrau
Line 124: Line 124:
  
 ===== Powershell ===== ===== Powershell =====
-<code># D:\update-ddns.ps1+<code># D:\update-dns.ps1
 # This is an example Powershell file for DuckDNS updater, see https://www.duckdns.org # This is an example Powershell file for DuckDNS updater, see https://www.duckdns.org
 param($domain) param($domain)
Line 131: Line 131:
 curl.exe -k "https://www.duckdns.org/update?domains=$duckdomain&token=xxxxxxxx-yyyy-zzzz-*my*-*duckdnstoken*&ip=$addr" curl.exe -k "https://www.duckdns.org/update?domains=$duckdomain&token=xxxxxxxx-yyyy-zzzz-*my*-*duckdnstoken*&ip=$addr"
 </code> </code>
-Use it with ''abc''+Use it with ''C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "D:\update-dns.ps1"''