Skip to content

Instantly share code, notes, and snippets.

@mmarcott
Last active February 11, 2019 20:35
Show Gist options
  • Select an option

  • Save mmarcott/247ba8448bc410803cb7 to your computer and use it in GitHub Desktop.

Select an option

Save mmarcott/247ba8448bc410803cb7 to your computer and use it in GitHub Desktop.
My boxstarter script
# 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
# Basic setup
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showFileExtensions
Enable-RemoteDesktop
#Disable-InternetExplorerESC
#Disable-UAC
Set-TaskbarOptions -Size Small -Lock -Dock Bottom
if (Test-PendingReboot) { Invoke-Reboot }
# Update Windows and reboot if necessary
Install-WindowsUpdate -AcceptEula
if (Test-PendingReboot) { Invoke-Reboot }
cinst DotNet3.5 # Not automatically installed with VS 2013. Includes .NET 2.0. Uses Windows Features to install.
if (Test-PendingReboot) { Invoke-Reboot }
cinstm powershell
#Browsers
#cinst googlechrome
cinst firefox
#cinst flashplayerplugin
#cinst javaruntime
cinst adobereader
# Email
cinst em-client
#Other essential tools
cinst 7zip
cinst vlc
cinst ccleaner
cinst pdfcreator
#cinst teamviewer
#cinst sumatrapdf
cinst dotnet4.5
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Google\Chrome\Application\chrome.exe"
# Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment