Skip to content

Instantly share code, notes, and snippets.

@mikaelweave
Last active August 7, 2018 17:28
Show Gist options
  • Save mikaelweave/51d13557f105a92e976c8f8f64d7d1a5 to your computer and use it in GitHub Desktop.
Save mikaelweave/51d13557f105a92e976c8f8f64d7d1a5 to your computer and use it in GitHub Desktop.
## REMOVE CRAP
Get-AppxPackage -AllUsers | Remove-AppxPackage
## INSTALL PACKAGE MANAGERS
Write-Host "Installing Scoop and Choco..."
Set-ExecutionPolicy Bypass -Scope Process -Force; iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
## INSTALL APPS THROUGH SCOOP
Write-Host "Installing apps through scoop (cmder, curl, docker)..."
scoop install cmder
scoop install curl
scoop install docker
scoop install dotnet-sdk
scoop install python
scoop install r
scoop install rust
## INSTALL APPS THROUGH CHOCO
Write-Host "Installing apps through choco (Greenshot, git, ditto, vscode, microsoft teams, postman, 7-Zip, ZoomIt)..."
choco install greenshot
choco install git.install
choco install ditto
choco install vscode
choco install microsoft-teams
choco install postman
choco install 7zip
choco install zoomit
# Install visual studio
Invoke-WebRequest -Uri "https://aka.ms/vs/15/release/vs_enterprise.exe"
.\vs_enterprise.exe
Write-Host 'Popping up VS Installer';
Write-Host -NoNewLine 'Press any key to continue once done...';
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown');
# MANUAL STEP
Write-Host "MANUAL STEP: Install setting sync for VSCode. Use gist ID 2fae7ab3b58333e6c065f070ece52867"
Write-Host -NoNewLine 'Press any key to continue once done...';
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown');
Write-Host "MANUAL STEP: Powershell tricks at https://gist.github.com/rkeithhill/60eaccf1676cf08dfb6f"
Write-Host -NoNewLine 'Press any key to continue once done...';
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown');
Write-Host "MANUAL STEP: Install Notion"
Write-Host -NoNewLine 'Press any key to continue once done...';
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown');
Write-Host "Installing WSL..."
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Write-Host "Now reboot and install Ubuntu through the store..."
Write-Host -NoNewLine 'Press any key to continue...';
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment