Skip to content

Instantly share code, notes, and snippets.

@darylrobbins
Last active July 31, 2020 20:55
Show Gist options
  • Save darylrobbins/2a98e40bd81446947d84f17fa04fad64 to your computer and use it in GitHub Desktop.
Save darylrobbins/2a98e40bd81446947d84f17fa04fad64 to your computer and use it in GitHub Desktop.
My Boxstarter Script
#####################
# PREREQUISITES
#####################
# Windows Updates
Install-WindowsUpdate -AcceptEula -Criteria "IsHidden=0 and IsInstalled=0 and Type='Software'"
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Set-TaskbarSmall
# Console
cinst PowerShell
cinst poshgit
cinst microsoft-windows-terminal
# WinGet
Invoke-WebRequest -Uri https://github.com/microsoft/winget-cli/releases/download/v0.1.42101-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.appxbundle -OutFile ~/winget-cli.appx -UseBasicParsing
Add-AppxPackage -Path ~/winget-cli.appx
#####################
# WINDOWS FEATURES
#####################
cinst Microsoft-Hyper-V-All -source windowsFeatures
cinst IIS-WebServerRole -source windowsfeatures
#####################
# SOFTWARE
#####################
# 7Zip
cinst 7zip.install -y
# Some browsers
# cinst GoogleChrome -y
# cinst chromium -y
cinst firefox -y
# cinst firefox-dev --pre -y
# cinst Opera -y
cinst microsoft-edge -y
# cinst microsoft-edge-insider -y
# cinst microsoft-edge-insider-dev -y
#Plugins and Runtime
cinst javaruntime -y
# Dev Tools
cinst git.install -y
cinst git-credential-winstore
cinst poshgit
cinst nvm -y
cinst cascadiacode -y
cinst vscode -y
cinst vscode-insiders -y
cinst gitkraken -y
cinst github-desktop -y
cinst postman -y
# cinst fiddler -y
# cinst teamviewer -y
cinst azure-cli -y
# Messaging
# cinst discord -y
cinst microsoft-teams -y
cinst slack -y
# cinst whatsapp -y
# cinst telegram -y
# cinst skype -y
# Tools
# cinst foxitreader -y
cinst vlc -y
cinst ccleaner -y
# cinst rescuetime -y
# cinst nordvpn -y
cinst powertoys -y
cinst 1password -y
# Graphic Tools
# cinst paint.net -y
# Audio Tools
# cinst audacity -y
# cinst lightworks -y
# cinst screentogif -y
# cinst spotify --ignore-checksums -y
# Visual Studio
$idList = @(
"Microsoft.VisualStudio.Workload.Azure",
"Microsoft.VisualStudio.Workload.NetWeb",
"Microsoft.VisualStudio.Workload.ManagedDesktop",
"Microsoft.VisualStudio.Workload.NetCoreTools",
"Microsoft.VisualStudio.Component.Git",
"Microsoft.Net.Component.4.7.2.SDK",
"Microsoft.Net.Component.4.7.2.TargetingPack"
);
$paramList = @("--includeRecommended");
$idList | ForEach-Object { $paramList += "--add $_" }
$vsParams = [string]::Join(' ', $paramList)
cinst visualstudio2019community -y --package-parameters="'$vsParams'"
# Portal Azure
Invoke-WebRequest -Uri https://portal.azure.com/App/Download?acceptLicense=true -OutFile ~/AzurePortalInstaller.exe -UseBasicParsing
Start-Process ~/AzurePortalInstaller.exe
# Manually
# Xmeters
# Visual Studio 2019
# Portal Azure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment