Associate
Hi guys - I've got a curl script I'd like to create an equivalent PS script for Windows machines.
I'm looking to do dns-01 challenges automatically by scripting the TXT record creation with my DNS provider.
Hopefully someone with better knowledge of PS can help.
Many thanks
Code:
curl -b "dns_cookie=XXXXXXXXXX" -d "type=TXT" -d "subdomain=_acme-challenge" -d "domain_id=0000" -d "data_id=0000" -d "address=%22some_text%22" https://freedns.afraid.org/subdomain/save.php?step=2
I'm looking to do dns-01 challenges automatically by scripting the TXT record creation with my DNS provider.
Hopefully someone with better knowledge of PS can help.
Many thanks