Primer s’ha d’entrar al powershell com a administrador i posar aquesta comanda: Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(‘https://community.chocolatey.org/install.ps1’))

Un cop instal·lat faré una prova instal·lant google:

Funciona correctament, ara lo mateix però en windows server:
