Created
January 28, 2014 20:37
-
-
Save whatisinternet/8675847 to your computer and use it in GitHub Desktop.
My Chocolatey script
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
#---------------------------- | |
# 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 |
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
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