Skip to content

Instantly share code, notes, and snippets.

View MattHuntington's full-sized avatar

MattHuntington

View GitHub Profile
if (Test-PendingReboot) { Invoke-Reboot }
Enable-RemoteDesktop
Install-WindowsUpdate -getUpdatesFromMS -acceptEula
if (Test-PendingReboot) { Invoke-Reboot }
cinst chocolatey
cinst chocolateygui
cinst google-chrome-x64
cinst 7zip.install
Install-WindowsUpdate -getUpdatesFromMS -acceptEula
@MattHuntington
MattHuntington / gist:b77c361ed8048d37f7ce
Last active September 24, 2015 02:47
Setup Dev Machine
function Install-ChocolateyPinnedTaskBarItem {
<#
.SYNOPSIS
Creates an item in the task bar linking to the provided path.
.PARAMETER TargetFilePath
The path to the application that should be launched when clicking on the task bar icon.
.EXAMPLE
Install-ChocolateyPinnedTaskBarItem "${env:ProgramFiles(x86)}\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe"
# make it so we don't have to agree to prompts
chocolatey feature enable -n=allowGlobalConfirmation #test with error about future versions of chocolatey
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false
cinst putty
cinst tortoisesvn
if (Test-PendingReboot) { Invoke-Reboot }
cinst webpi
cinst visualstudiocode
cinst chocolatey
cinst chocolateygui
cinst google-chrome-x64
cinst 7zip.install
cinst adobereader
cinst libreoffice
cinst cutepdf
cinst nitroreader.install
cinst picasa
cinst pidgin
# make it so we don't have to agree to prompts
chocolatey feature enable -n=allowGlobalConfirmation #test with error about future versions of chocolatey
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false
# Setup windows options
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions