Skip to content

Instantly share code, notes, and snippets.

@espositofulvio
Created January 4, 2019 11:35
Show Gist options
  • Save espositofulvio/e6cfc1856b45956ac653894719868faa to your computer and use it in GitHub Desktop.
Save espositofulvio/e6cfc1856b45956ac653894719868faa to your computer and use it in GitHub Desktop.
MyBoxstarter
# Set PC name
$computername = "undisclosed"
if ($env:computername -ne $computername) {
Rename-Computer -NewName $computername
}
# Install applications
choco install -y sysinternals
choco install -y vscode
choco install -y cmdermini
choco install -y spotify
choco install -y adobereader
choco install -y 7zip.install
choco install -y firacode
# WSL
choco install -y Microsoft-Hyper-V-All -source windowsFeatures
choco install -y Microsoft-Windows-Subsystem-Linux -source windowsfeatures
Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1804 -OutFile ~/Ubuntu.appx -UseBasicParsing
Add-AppxPackage -Path ~/Ubuntu.appx
RefreshEnv
Ubuntu1804 install --root
Ubuntu1804 run apt update
Ubuntu1804 run apt upgrade
# System-level configuration
Disable-BingSearch
Disable-GameBarTips
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Set-TaskbarOptions -Size Small -Dock Bottom -Combine Full -Lock
Set-TaskbarOptions -Size Small -Dock Bottom -Combine Full -AlwaysShowIconsOn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment