Looks like the issue with Powershell not allowing you to run unsigned scripts from the internet. You’ll either need to unblock the file (so it’s treated as a local script instead of an internet-downloaded one), sign the script, or set the execution policy on your server to unrestricted (that last one is dangerous.)
This is probably your best bet: