title: Can someone please tell me whether these PowerShell scripts to install Chocolatey is safe?
body: <p>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.</p>
  <p>What I need to know is whether this script is safe.</p>
  <pre><code>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'))
  </code></pre>
  <p>The statement which made me suspicious is <code>Set-ExecutionPolicy Bypass -Scope Process -Force;</code> and <code>[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;</code>.</p>
  <p>The remote powershell script that is to be executed is <a href="https://community.chocolatey.org/install.ps1" rel="nofollow noreferrer">this.</a></p>
  <p>It would be great if someone could please let me know whether these scripts are safe...</p>