Skip to content

Instantly share code, notes, and snippets.

@whatisinternet
Created January 28, 2014 20:37
Show Gist options
  • Save whatisinternet/8675847 to your computer and use it in GitHub Desktop.
Save whatisinternet/8675847 to your computer and use it in GitHub Desktop.
My Chocolatey script
#----------------------------
# Filename: chkltyUpdater.ps1
# Author: Josh Teeter
# Date: 2014-01-27
# Version: 1.0.0.0
# Purpose: takes a list of chocolatey apps and updates them. :)
#----------------------------
#
# Get the current execution path
#
$fullPathIncFileName = $MyInvocation.MyCommand.Definition
$currentScriptName = $MyInvocation.MyCommand.Name
$currentExecutingPath = $fullPathIncFileName.Replace($currentScriptName, "")
#
# Read the list of apps to remove from the file
#
$filePath = $currentExecutingPath.ToString() + "update.list"
$strAppsToUpdate = Get-Content $filePath.ToString()
foreach ($i in $strAppsToUpdate){
try{
echo $i
cup $i
}catch{
}#endTry
}#endForEach
#shutdown.exe -s /t 0
Firefox
GoogleChrome
Silverlight
flashplayerplugin
vlc
foobar2000
skype
filezilla
7zip.commandline
curl
autohotkey_l
javaruntime
java.jdk
f.lux
sublimetext2
EthanBrown.SublimeText2.WebPackages
notepadplusplus.install
RubyMine
eclipse-java-juno
android-sdk
git.install
pik
ruby1.9
postgresql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment