Skip to content

Instantly share code, notes, and snippets.

@cmaneu
Last active October 5, 2018 01:33
Show Gist options
  • Save cmaneu/2e5c25553cc828b248c307a733dc97cd to your computer and use it in GitHub Desktop.
Save cmaneu/2e5c25553cc828b248c307a733dc97cd to your computer and use it in GitHub Desktop.
MSFT Setup machine
# base machine tools
choco install -y firacode
choco install -y vlc
choco install -y googlechrome
choco install -y izarc
choco install -y adobereader
choco install -y keepass.install
# admin tools
choco install -y sysinternals
choco install -y visualstudiocode
choco install -y filezilla
choco install -y windirstat
choco install -y openssh
# collaborative tools
choco install -y slack
choco install -y microsoft-teams
# Base dev tools
choco install -y git.install
choco install -y poshgit
choco install -y Git-Credential-Manager-for-Windows
choco install -y git-lfs.install
choco install -y fiddler4
choco install -y nodejs.install
choco install -y python
choco install -y nugetpackageexplorer
# docker tools
choco install -y docker-for-windows
choco install -y docker-kitematic
choco install -y docker-machine
choco install -y docker-compose
# VScode plugins
choco install -y vscode-csharp
choco install -y vscode-powershell
choco install -y vscode-tslint
choco install -y vscode-docker
choco install -y vscode-markdownlint
choco install -y vscode-editorconfig
choco install -y vscode-azurerm-tools
choco install -y vscode-icons
choco install -y vscode-cake
# Azure dev tools
# choco install -y azcopy
# Non Approved package
# choco install azurestorageexplorer
# .net dev tools
choco install -y linqpad4
choco install -y NugetPackageExplorer
# JavaScript dev tools
choco install -y typescript
# Data tools
choco install -y sqliteadmin
# Android Studio & SDK
choco install -y jdk8
choco install -y android-sdk
choco install -y androidstudio
# Visual Studio 2017
choco install -y visualstudio2017enterprise
choco install -y visualstudio2017-workload-universal --package-parameters "--productId Microsoft.VisualStudio.Product.Enterprise --channelId VisualStudio.15.Release --includeOptional"
choco install -y visualstudio2017-workload-azure --package-parameters "--productId Microsoft.VisualStudio.Product.Enterprise --channelId VisualStudio.15.Release --includeOptional"
choco install -y visualstudio2017-workload-data --package-parameters "--productId Microsoft.VisualStudio.Product.Enterprise --channelId VisualStudio.15.Release --includeOptional"
choco install -y visualstudio2017-workload-manageddesktop --package-parameters "--productId Microsoft.VisualStudio.Product.Enterprise --channelId VisualStudio.15.Release --includeOptional"
choco install -y visualstudio2017-workload-netcoretools --package-parameters "--productId Microsoft.VisualStudio.Product.Enterprise --channelId VisualStudio.15.Release --includeOptional"
choco install -y visualstudio2017-workload-netcrossplat --package-parameters "--productId Microsoft.VisualStudio.Product.Enterprise --channelId VisualStudio.15.Release --includeOptional"
choco install -y visualstudio2017-workload-netweb --package-parameters "--productId Microsoft.VisualStudio.Product.Enterprise --channelId VisualStudio.15.Release --includeOptional"
choco install -y visualstudio2017-workload-node --package-parameters "--productId Microsoft.VisualStudio.Product.Enterprise --channelId VisualStudio.15.Release --includeOptional"
choco install -y visualstudio2017-workload-webcrossplat --package-parameters "--productId Microsoft.VisualStudio.Product.Enterprise --channelId VisualStudio.15.Release --includeOptional"
# UX
choco install -y balsamiqmockups3
choco install -y office365proplus
choco install -y powerbi
# Installing chocolatey
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
# Installing my tools
iex ((New-Object System.Net.WebClient).DownloadString('https://gist.githubusercontent.com/cmaneu/2e5c25553cc828b248c307a733dc97cd/raw/992ecf759944dfa91883045486795813835ae7c3/chocoSetup.ps1'))
Disable-UAC
#--- Windows Subsystems/Features ---
choco install -y Microsoft-Windows-Subsystem-Linux -source windowsfeatures
choco install -y Microsoft-Hyper-V-All -source windowsFeatures
#--- Configuring Windows properties ---
#--- 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
#--- Enabling developer mode on the system ---
Set-ItemProperty -Path HKLM:\Software\Microsoft\Windows\CurrentVersion\AppModelUnlock -Name AllowDevelopmentWithoutDevLicense -Value 1
#--- System Tools ---
$SystemPackages = 'git',`
'poshgit',`
'visualstudiocode',`
'nodejs',`
'FiraCode',`
'fiddler',`
'keepass',`
'7zip',`
'ngrok.portable',`
'winscp',`
'sysinternals',`
'rufus',
'openvpn'
ForEach ($PackageName in $SystemPackages)
{choco install $PackageName -y}
#--- Utilities ---
choco install -y vlc
#--- Web --
choco install -y GoogleChrome
choco install -y firefox
#-- Docker --
choco install -y docker-for-windows
choco install -y docker-compose
choco install -y docker-kitematic
code --install-extension PeterJausovec.vscode-docker
#-- Python --
choco install -y python3
code --install-extension donjayamanne.python-extension-pack
code --install-extension
code --install-extension
code --install-extension
#--- VS 2017 uwp and azure workloads + git tools ---
# See this for install args: https://chocolatey.org/packages/visualstudio2017enterprise
# https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community
# https://docs.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio#list-of-workload-ids-and-component-ids
choco install visualstudio2017enterprise --package-parameters "--add Microsoft.VisualStudio.Workload.Azure --add Microsoft.VisualStudio.Component.Git"
RefreshEnv
choco install visualstudio2017-workload-azure
choco install visualstudio2017-workload-universal
choco install visualstudio2017-workload-data
choco install visualstudio2017-workload-manageddesktop
choco install visualstudio2017-workload-netcoretools
choco install visualstudio2017-workload-netcrossplat
choco install visualstudio2017-workload-netweb
choco install visualstudio2017-workload-node
choco install visualstudio2017-workload-webcrossplat
#--- reenabling critial items ---
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