Created
October 23, 2019 03:14
example of script to install softwares using chocolatey
This file contains 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