Skip to content

Instantly share code, notes, and snippets.

@dalraf
Last active October 31, 2025 15:42
Show Gist options
  • Select an option

  • Save dalraf/a0042799f5ac918acd624cb133367366 to your computer and use it in GitHub Desktop.

Select an option

Save dalraf/a0042799f5ac918acd624cb133367366 to your computer and use it in GitHub Desktop.
install desktops
@echo off
REM Instalar o Chocolatey
echo Instalando o Chocolatey...
SET CHOCO_INSTALL_SCRIPT=https://community.chocolatey.org/install.ps1
powershell -Command "Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; Invoke-WebRequest '%CHOCO_INSTALL_SCRIPT%' -OutFile 'install.ps1'; & '.\install.ps1'"
REM Esperar até que o Chocolatey seja instalado
echo Aguardando a instalação do Chocolatey...
timeout /t 10
REM Instalar os softwares usando o Chocolatey
echo Instalando softwares...
C:\ProgramData\chocolatey\choco install googlechrome winrar naps2 -y
C:\ProgramData\chocolatey\choco install jre8 -PackageParameters "/exclude:64" --force -y
echo Processo concluído!
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment