-
-
Save mivano/dd612c9db610caf4a5fb to your computer and use it in GitHub Desktop.
This file contains 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
# Boxstarter options | |
$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 | |
# Basic setup | |
Update-ExecutionPolicy Unrestricted | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# Update Windows and reboot if necessary | |
Install-WindowsUpdate -AcceptEula | |
if (Test-PendingReboot) { Invoke-Reboot } | |
Get-WindowsCapability -Online -Name "XPS.Viewer*" | Remove-WindowsCapability -Online | |
Get-WindowsCapability -Online -Name "Browser.InternetExplorer*" | Remove-WindowsCapability -Online | |
Get-WindowsCapability -Online -Name "Print.Fax.Scan*" | Remove-WindowsCapability -Online | |
Get-WindowsCapability -Online -Name "Media.WindowsMediaPlayer*" | Remove-WindowsCapability -Online | |
Get-WindowsCapability -Online -Name "App.Support.QuickAssist*" | Remove-WindowsCapability -Online | |
Get-WindowsCapability -Online -Name "Language.*nl-NL*" | Add-WindowsCapability -Online | |
Get-WindowsCapability -Online -Name "App.WirelessDisplay.Connect**" | Add-WindowsCapability -Online | |
Get-WindowsCapability -Online -Name "Hello.Face.*" | Add-WindowsCapability -Online | |
Get-WindowsCapability -Online -Name "Language.*en-US*" | Add-WindowsCapability -Online | |
Get-WindowsCapability -Online -Name "Language.*en-GB*" | Add-WindowsCapability -Online | |
cinst Microsoft-Hyper-V-All -source windowsFeatures | |
cinst IIS-WebServerRole -source windowsfeatures | |
cinst IIS-HttpCompressionDynamic -source windowsfeatures | |
cinst IIS-ManagementScriptingTools -source windowsfeatures | |
cinst IIS-WindowsAuthentication -source windowsfeatures | |
Get-AppxPackage *getstarted* | Remove-AppxPackage | |
Get-AppxPackage *officehub* | Remove-AppxPackage | |
Get-AppxPackage *3dbuilder* | Remove-AppxPackage | |
Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage | |
Get-AppxPackage *getstarted* | Remove-AppxPackage | |
Get-AppxPackage *skypeapp* | Remove-AppxPackage | |
Get-AppxPackage *solitairecollection* | Remove-AppxPackage | |
Get-AppxPackage *zunevideo* | Remove-AppxPackage | |
Get-AppxPackage *bing* | Remove-AppxPackage | |
Get-AppxPackage *messaging* | Remove-AppxPackage | |
Get-AppxPackage *Microsoft.people* | Remove-AppxPackage | |
Get-AppxPackage *ZuneMusic* | Remove-AppxPackage | |
get-printer | %{ set-printconfiguration -printerobject $_ -Papersize "a4" } | |
# Visual studio | |
cinst visualstudiocode | |
#cinst visualstudio2019enterprise | |
# Source control | |
cinst git | |
cinst git-credential-winstore | |
cinst gitextensions | |
cinst sourcetree | |
# docker | |
cinst docker | |
cinst kubernetes-cli | |
# tools | |
cinst ProcExp | |
cinst poshgit | |
cinst console2 | |
cinst lockhunter | |
cinst sublimetext3 | |
cinst vagrant | |
cinst googledrive | |
cinst notepadplusplus.install | |
cinst dotpeek | |
cinst NugetPackageExplorer | |
cinst windbg | |
cinst TestDriven.Net | |
cinst brave | |
cinst 1password | |
cinst sourcetree | |
cinst sysinternals | |
cinst keepass.install | |
cinst keepass-keepasshttp | |
cinst keepass-plugin-keeautoexec | |
cinst Cmder | |
cinst 7zip.install | |
cinst kdiff3 | |
cinst javaruntime | |
cinst vlc | |
cinst ruby | |
cinst putty | |
cinst filezilla | |
cinst nodejs | |
cinst paint.net | |
cinst curl | |
cinst resharper | |
cinst googlechrome | |
cinst firefox | |
cinst fiddler4 | |
cinst foxitreader | |
cinst sysinternals | |
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen | |
Enable-RemoteDesktop | |
Disable-InternetExplorerESC | |
Disable-UAC | |
Set-TaskbarSmall | |
Enable-UAC | |
Write-ChocolateySuccess 'Dev installed' | |
################# | |
#### cleanup #### | |
################# | |
del C:\eula*.txt | |
del C:\install.* | |
del C:\vcredist.* | |
del C:\vc_red.* | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment