Skip to content

Instantly share code, notes, and snippets.

@comprofix
Last active July 6, 2020 05:51
Show Gist options
  • Save comprofix/f5f222df86d3badaac483ce04acadc8d to your computer and use it in GitHub Desktop.
Save comprofix/f5f222df86d3badaac483ce04acadc8d to your computer and use it in GitHub Desktop.
# Description: Boxstarter Script
# Author: https://comprofix.com
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
# NOTE the "." above is required.
#
# Run this boxstarter by calling the following from **elevated** powershell:
# example: Install-BoxstarterPackage -PackageName <gist>
# Learn more: http://boxstarter.org/Learn/WebLauncher
# Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$true # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
Update-ExecutionPolicy -Policy Unrestricted
# Trust PSGallery
Get-PackageProvider -Name NuGet -ForceBootstrap
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
# Temporary
Disable-UAC
choco feature enable -n=allowGlobalConfirmation
# Applications
choco install 7zip
choco install atom
choco install ccleaner
choco install cdburnerxp
choco install discord
choco install filezilla
choco install foxitreader
choco install git.install
choco install gimp
choco install icedtea-web
choco install imgburn
choco install keepass
choco install lamexp
choco install meld
choco install microsoft-edge
choco install notepadplusplus
choco install notepad2-mod
choco install putty.install
choco install slack
choco install vlc
choco install googlechrome
choco install firefox
choco install sysinternals
choco install vcredist-all
choco install TelnetClient
choco install NetFX3
# clean up the cache directory
Remove-Item $ChocoCachePath -Recurse
#--- Restore Temporary Settings ---
choco feature disable -n=allowGlobalConfirmation
Enable-MicrosoftUpdate
Install-WindowsUpdate -acceptEula
Enable-UAC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment