I need to install Chocolatey, a Windows package manager. In their website, I found this powershell script which must be executed in order to install it. However, I don't understand this script.
What I need to know is whether this script is safe.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
The statement which made me suspicious is Set-ExecutionPolicy Bypass -Scope Process -Force;
and [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
.
The remote powershell script that is to be executed is this.
It would be great if someone could please let me know whether these scripts are safe...