Skip to content

Instantly share code, notes, and snippets.

@rroman81
Created April 6, 2017 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rroman81/00b02810594d2509527516923f22b738 to your computer and use it in GitHub Desktop.
Save rroman81/00b02810594d2509527516923f22b738 to your computer and use it in GitHub Desktop.
# Allow reboots
$Boxstarter.RebootOk=$true
$Boxstarter.NoPassword=$false
$Boxstarter.AutoLogin=$true
# #Essentials
Update-ExecutionPolicy Unrestricted
# Modify explorer options to Show All Files and extensions
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 }
#Essential Dev Tools
cinst 7zip -y
cinst cpu-z
cinst adobereader -y
cinst jdk8 -y
cinst ditto -y
cinst notepadplusplus -y
cinst VisualStudioCode -y
cinst git -y
cinst nodejs-lts -y
cinst ruby -y
cinst poshgit -y
cinst sysinternals -y
#Browsers
cinst googlechrome -y
cinst firefox -y
# Configurations
## Replace Task Manager with Systeinternals
$appData = [environment]::GetFolderPath([environment+specialfolder]::CommonApplicationData)
$procExpExecutionPath = Join-Path (Join-Path $appData "chocolatey\bin") "procexp.exe"
if (Test-Path $procExpExecutionPath) {
&"$($procExpExecutionPath)" /rt
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment