Skip to content

Instantly share code, notes, and snippets.

@samjaninf
Last active April 12, 2017 15:05
Show Gist options
  • Save samjaninf/b35d1c1ea49390aa212d to your computer and use it in GitHub Desktop.
Save samjaninf/b35d1c1ea49390aa212d to your computer and use it in GitHub Desktop.
# Boxstarter options
$Boxstarter.RebootOk=$false # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
# Basic setup
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
if (Test-PendingReboot) { Invoke-Reboot }
# Update Windows and reboot if necessary
Install-WindowsUpdate -AcceptEula
if (Test-PendingReboot) { Invoke-Reboot }
# Visual Studio SDK required for PoshTools extension
cinstm VS2013SDK
if (Test-PendingReboot) { Invoke-Reboot }
cinstm DotNet3.5 # Not automatically installed with VS 2013. Includes .NET 2.0. Uses Windows Features to install.
if (Test-PendingReboot) { Invoke-Reboot }
cinst flashplayerplugin
cinst javaruntime
cinst flashplayeractivex
cinst adobeshockwaveplayer
cinst jdk8
cinst jre8
cinst java.jdk
cinst silverlight
cinst dotnet4.5
cinst adobeair
cinst firefox
cinst google-chrome-x64
cinst paint.net
cinst inkscape
cinst vlc
cinst pdfcreator
cinst adobereader
cinst kingsoft-office-free
cinst winrar
cinst 7zip
cinst microsoftsecurityessentials
cinst dropbox
cinst googledrive
cinst ccleaner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment