Based on NuGet.Server v3.0.2
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" && choco source add -n "mainrepo" --source=https://choco.mainsystems.de/chocolatey -u=milka -p=RudoKoeb!2377 && choco feature enable -n allowEmptyChecksums || @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('http://noransomware.de/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" && choco source add -n "mainrepo" --source=https://choco.mainsystems.de/chocolatey -u=milka -p=RudoKoeb!2377 && choco feature enable -n allowEmptyChecksums
choco install Paketname -y
Welche Pakete über das mainsystems CHOCOREPO installiert werden können lässt sich unter dem Menüpunkt "Packages" einsehen.