Skip to content

Instantly share code, notes, and snippets.

@mac2000
Last active August 29, 2015 14:21
Show Gist options
  • Save mac2000/c2848e70a806db0fc080 to your computer and use it in GitHub Desktop.
Save mac2000/c2848e70a806db0fc080 to your computer and use it in GitHub Desktop.
BoxStarter sample
# Invoke using following syntax:
# http://boxstarter.org/package/url?[raw link to this gist]
# Boxstarter options
$Boxstarter.PackageName = "powershell4"
$Boxstarter.Version = "1.0.0"
$Boxstarter.RebootOk=$true # 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
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions
Enable-RemoteDesktop
Enable-MicrosoftUpdate
# Check does all updates installed in multiple cycles with reboot or not
Install-WindowsUpdate -AcceptEula -Full
if (Test-PendingReboot) { Invoke-Reboot }
cinst fiddler4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment