Skip to content

Instantly share code, notes, and snippets.

@andrewbbrown
Created September 19, 2019 20:01
Show Gist options
  • Save andrewbbrown/7eba75e34cf965e3f61a75b685af7beb to your computer and use it in GitHub Desktop.
Save andrewbbrown/7eba75e34cf965e3f61a75b685af7beb to your computer and use it in GitHub Desktop.
Bootstra-notes-win-dev
Install Chocolatey:
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Install Boxstarter:
iex ((New-Object System.Net.WebClient).DownloadString('https://boxstarter.org/bootstrapper.ps1')); Get-Boxstarter -Force
With powershell v3 or higher:
. { iwr -useb https://boxstarter.org/bootstrapper.ps1 } | iex; Get-Boxstarter -Force
choco install dotnet3.5 -y
choco install dotnet4.7 -y
Write-BoxstarterMessage "Ensuring PSGallery is a trusted PSRepository..."
Get-PackageProvider -Name NuGet -ForceBootstrap
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
Write-BoxstarterMessage "Ensuring the PowerShellGet module is installed..."
Install-Module -Name PowerShellGet -Scope AllUsers -Force
################################
#### general utils ####
################################
cinst chocolatey-core.extension -y
choco install 7zip.install -y
choco install sysinternals -y
### Web Browsing ###
choco install googlechrome -y
choco install firefox -y
choco install flashplayerplugin -y
### Slack ###
choco install slack -y
### Git Setup ###
choco install github-desktop -y
choco install git.install -y
### Text Editors ###
choco install notepadplusplus.install -y
choco install visualstudiocode -y
### File Transfer & communication ###
choco install filezilla -y
choco install putty.install -y
choco install winscp -y
### AppDev ###
choco install golang -y
choco install govc -y
choco install jre8 -y
### Packer ###
choco install packer -y
### VMWare Workstation ###
choco install vmware-powercli-psmodule -y
choco install vmware-tools -y
choco install windirstat -y
### PowerShell Modules ###
#Install-Module -Name posh-git -Scope AllUsers -Force
###############################
#### windows features ####
###############################
Write-BoxstarterMessage "Ensuring that Windows Explorer Settings are correct (Developer features... file extensions... full file paths... show hidden files... show protected os files...)"
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
#Write-BoxstarterMessage "Ensuring remote desktop is enabled..."
Enable-RemoteDesktop
Write-BoxstarterMessage "Ensuring Bing Internet Search is disabled..."
Disable-BingSearch
Write-BoxstarterMessage "Ensuring Game Bar Tips is disabled..."
Disable-GameBarTips
#Write-BoxstarterMessage "Moving personal library directory to SkyDrive..."
#Move-LibraryDirectory "Personal" "$env:UserProfile\skydrive\documents"
#Write-BoxstarterMessage "Installing oh-my-posh Module"
#Install-Module -Name oh-my-posh -Scope AllUsers -Force
Write-BoxstarterMessage "Installing VMware PowerCLI Module"
Install-Module -Name VMware.PowerCLI -Scope AllUsers -Force
#Install-Module -Name VMware.PowerCLI -Scope AllUsers -Force
Write-BoxstarterMessage "Installing VMware PowerCLI Module"
Update-Module -Name VMware.PowerCLI -Force
#Update-Module -Name VMware.PowerCLI -Scope AllUsers -Force
#Write-BoxstarterMessage "Ensuring there are no additional Windows Updates to get..."
#Install-WindowsUpdate -AcceptEula
# Setting Time Zone
Write-BoxstarterMessage "Setting time zone to Central Standard Time"
& C:\Windows\system32\tzutil /s "Central Standard Time"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment