Using Powershell to Update DNS Records on GoDaddy API

I was recently working on using the GoDaddy API in lieu of using dynamicDNS to keep my lab IP up to date.  I stumbled across a post on Stack Overflow where someone had already started some work on this, but had not quite got it working.

I was able to take what they had provided, make a couple of changes, and get it working.  It might help you out to!

https://stackoverflow.com/questions/39123202/error-422-when-using-powershell-to-update-dns-records-on-godaddy-api

Enjoy!