Skip to content

Instantly share code, notes, and snippets.

@martic
Created January 24, 2016 08:40
Show Gist options
  • Select an option

  • Save martic/ee4d4b98ffdfa6857de3 to your computer and use it in GitHub Desktop.

Select an option

Save martic/ee4d4b98ffdfa6857de3 to your computer and use it in GitHub Desktop.
# Boxstarter script for blog post http://blog.zerosharp.com/provisioning-a-new-development-machine-with-boxstarter
# Allow reboots
$Boxstarter.RebootOk=$true
$Boxstarter.NoPassword=$false
$Boxstarter.AutoLogin=$true
# Basic setup
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
Disable-InternetExplorerESC
Disable-UAC
Set-TaskbarSmall
if (Test-PendingReboot) { Invoke-Reboot }
# Update Windows and reboot if necessary
Install-WindowsUpdate -AcceptEula
if (Test-PendingReboot) { Invoke-Reboot }
Enable-UAC
if (Test-PendingReboot) { Invoke-Reboot }
@martic
Copy link
Author

martic commented Jan 24, 2016

@martic
Copy link
Author

martic commented May 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment