Created
October 23, 2019 03:14
-
-
Save valdecircarvalho/a9c41dd716820d669fc278afd7049f29 to your computer and use it in GitHub Desktop.
example of script to install softwares using chocolatey
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#InstallPagadges | |
write-output "Installing softwares with Cholatey..." | |
$applist = @( | |
"chocolateygui", | |
"chocolatey-core.extension", | |
"googlechrome", | |
"firefox", | |
"7zip.install", | |
"notepadplusplus.install", | |
) | |
foreach($app in $applist) { | |
Write-Output "Installing" $app "..." | |
Start-Sleep -s 1 | |
choco install $app -y --acceptlicense --force --no-progress --log-file="$env:USERPROFILE\Documents\workdir\temp\choco-install.log" | |
RefreshEnv | |
Start-Sleep -s 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment