Skip to content

Instantly share code, notes, and snippets.

@davidst
Last active August 6, 2019 08:48
Show Gist options
  • Save davidst/da4b80a6b82d556757dbe61c9070fbda to your computer and use it in GitHub Desktop.
Save davidst/da4b80a6b82d556757dbe61c9070fbda to your computer and use it in GitHub Desktop.
Install-WindowsUpdate -AcceptEula -SuppressReboots
# Windows configuration
# Disable-InternetExplorerESC
# Disable-GameBarTips
# Disable-UAC
# Enable-RemoteDesktop
# Set-WindowsExplorerOptions -DisableShowHiddenFilesFoldersDrives -DisableShowProtectedOSFiles -DisableOpenFileExplorerToQuickAccess -EnableShowFileExtensions -EnableShowFullPathInTitleBar -EnableExpandToOpenFolder -EnableShowRibbon
# Set-TaskbarOptions -Size Large -Lock -Dock Bottom -Combine Full
# Update-ExecutionPolicy Unrestricted
# Enable Windows optional feature
Enable-WindowsOptionalFeature -Online -NoRestart -FeatureName Microsoft-Hyper-V-All
Enable-WindowsOptionalFeature -Online -NoRestart -FeatureName Containers
Enable-WindowsOptionalFeature -Online -NoRestart -FeatureName Microsoft-Windows-Subsystem-Linux
choco feature enable -n=allowGlobalConfirmation
# Install programs
# choco install 7zip.install
# choco install adobereader
# choco install ccleaner
# choco install f.lux
# choco install firefox
# choco install googlechrome
# choco install lockhunter
# choco install paint.net
# choco install slack
# choco install spacesniffer
# choco install strokesplus
# choco install teamviewer
# choco install vlc
# Install dev tools
# choco install cmder
choco install docker-desktop
choco install docker-kitematic
choco install git.install
choco install git-credential-manager-for-windows
# choco install gitkraken
# choco install javaruntime
# choco install kdiff3
# choco install linqpad5.install
choco install nodejs.install
choco install notepadplusplus.install
choco install nuget.commandline
choco install nugetpackageexplorer
choco install postman
# choco install sourcetree
# choco install totalcommander
choco install visualstudiocode
# choco install yarn
choco install visualstudio2019professional
choco install visualstudio2019-workload-netcoretools
choco install visualstudio2019-workload-netweb
choco install dotnetcore-sdk
choco feature disable -n=allowGlobalConfirmation
# Install global npm packages
npm install -g @angular/cli
# npm install -g webpack
# npm install -g webpack-dev-server
# Docker configuration
# Create a local user account for Docker.
# The first command will prompt for a password, make sure you provide a strong password
# and that you store it in your personal password manager.
net user /add Docker *
WMIC UserAccount Where "Name='Docker'" Set PasswordExpires=FALSE
net localgroup administrators Docker /add
net localgroup docker-users Docker /add
# Create a Portainer container with a restart policy to always restart.
# This container can be used to manage Docker from your browser via http://localhost:9000.
docker volume create portainer
docker run -d --restart always -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer:/data portainer/portainer
Install-WindowsUpdate -AcceptEula
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment