It seems like on Windows Server 2016 or maybe other Windows OSs powershell uses TLS 1.0 by default and the sources have different tls versions. So this will make the script work without throwing those errors.
* Windows install script
Created
* Add Windows option
* Update
* Enable ODBC
* IIS Identity and mod_lua
* Update
* Update
* Merge remote-tracking branch 'upstream/master'
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
* Update
* WIndows install
Works with IIS.
Need to create nginx install