Last active
August 29, 2015 14:21
-
-
Save mac2000/c2848e70a806db0fc080 to your computer and use it in GitHub Desktop.
BoxStarter sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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