Skip to content

Instantly share code, notes, and snippets.

@pavoldecky
Last active June 7, 2018 10:37
Show Gist options
  • Save pavoldecky/6c0b51c1c361a9f4aaa321f6ab35b300 to your computer and use it in GitHub Desktop.
Save pavoldecky/6c0b51c1c361a9f4aaa321f6ab35b300 to your computer and use it in GitHub Desktop.
# Description: Boxstarter Script
# Author: Laurent Kempé
# Dev settings for my app development
Disable-UAC
#--- Windows Features ---
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
#--- File Explorer Settings ---
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name NavPaneExpandToCurrentFolder -Value 1
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name NavPaneShowAllFolders -Value 1
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -Value 1
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name MMTaskbarMode -Value 2
#--- Windows Subsystems/Features ---
choco install -y Microsoft-Hyper-V-All -source windowsFeatures
choco install -y Microsoft-Windows-Subsystem-Linux -source windowsfeatures
#--- Define Packages to Install ---
$Packages = 'git',
'poshgit',
'visualstudiocode',
'notepadplusplus',
'nodejs',
'FiraCode',
'SourceTree',
'keepass',
'cmdermini',
'7zip',
'ngrok.portable',
'winscp',
'GoogleChrome',
'paint.net',
'rapidee',
'sharex',
'SwissFileKnife',
'sysinternals',
'rufus',
'openvpn',
'test'
#--- Install Packages ---
ForEach ($PackageName in $Packages)
{choco install $PackageName -y}
Enable-UAC
Enable-MicrosoftUpdate
Install-WindowsUpdate -acceptEula
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment