Last active
December 21, 2016 18:13
-
-
Save Chirishman/403b4dee648aea859d5ab4cec542547e to your computer and use it in GitHub Desktop.
Basic Software Package
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
$packages = @( | |
"notepadplusplus.install", | |
"7zip.install", | |
"GoogleChrome", | |
"Firefox", | |
"AdobeReader", | |
"Putty.install" | |
) | |
Install-Package -Name Chocolatey -Force -ProviderName chocolatey | |
$chocopath = (Get-Package chocolatey | ?{$_.Name -eq "chocolatey"} | Select @{N="Source";E={((($a=($_.Source -split "\\"))[0..($a.length - 2)]) -join "\"),"Tools\chocolateyInstall" -join "\"}} | Select -ExpandProperty Source) | |
& $chocopath "upgrade all -y" | |
choco install chocolatey-core.extension --force | |
choco uninstall mm-choco.extension --all-versions | |
$packages | %{choco install $_ --force -y} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment