Last active
November 6, 2020 06:29
-
-
Save powareverb/9ef1eeb58b60e4338b13c9d9d19d460a to your computer and use it in GitHub Desktop.
Bootstrap Heph
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Run this script: | |
| # $gistuser = "powareverb"; $gistId="9ef1eeb58b60e4338b13c9d9d19d460a"; . { iwr -useb https://gist.githubusercontent.com/$gistuser/$gistid/raw/bootstrap.ps1 } | iex; Invoke-BootstrapMachine -machinename $(hostname); | |
| function Invoke-GetChocolatey() { | |
| # Choco boot | |
| Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
| } | |
| function Invoke-GetBoxStarter() { | |
| # Boxstarter | |
| . { iwr -useb https://boxstarter.org/bootstrapper.ps1 } | iex; Get-Boxstarter -Force | |
| } | |
| function Invoke-InstallScoop() { | |
| iwr -useb get.scoop.sh | iex | |
| } | |
| function Invoke-BootstrapMachine($machinename) { | |
| $gistuser = "powareverb"; $gistId="9ef1eeb58b60e4338b13c9d9d19d460a"; | |
| if(!$machinename) { | |
| $machinename = $(hostname) | |
| } | |
| Write-Host "This script will bootstrap the machine named: $machinename" | |
| Invoke-GetChocolatey | |
| Invoke-GetBoxStarter | |
| Invoke-InstallScoop | |
| Install-BoxstarterPackage -PackageName https://gist.githubusercontent.com/$gistuser/$gistId/raw/boxstarter-$machinename.txt -DisableReboots | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
| Enable-RemoteDesktop | |
| cup -y powershell-core powershell-preview powershell | |
| cup -y microsoft-windows-terminal notepad2 procmon | |
| cinst Microsoft-Hyper-V-All -source windowsFeatures | |
| cinst IIS-WebServerRole -source windowsfeatures | |
| Enable-WindowsOptionalFeature -Online -FeatureName $("VirtualMachinePlatform", "Microsoft-Windows-Subsystem-Linux") | |
| cup -y google-chrome-x64 microsoft-edge | |
| cup -y keepass keepass-plugin-keepasshttp keepass-plugin-databasebackup | |
| cup -y putty linkshellextension | |
| cup -y resilio-sync-home synctrayzor google-backup-and-sync | |
| cup -y duplicati | |
| # dev | |
| cup -y fiddler git-credential-winstore dotpeek tortoisegit | |
| cup -y vscode visualstudio2019community linqpad kdiff3 | |
| cup -y docker-desktop docker-cli | |
| cup -y kubernetes-cli | |
| cup -y gh | |
| cup -y terraform | |
| # Azure | |
| cup -y azure-cli azure-cosmosdb-emulator microsoftazurestorageexplorer azure-functions-core-tools-2 azurepowershell | |
| # wsl --install | |
| cup -y wsl-ubuntu-1804 wsl-ubuntu-2004 wsl-alpine | |
| # Gaming | |
| cup -y steam epicgameslauncher goggalaxy | |
| # Streaming | |
| cup -y obs-studio | |
| # Social | |
| cup -y discord slack microsoft-teams | |
| cup -y duplicati | |
| # Tools | |
| cup -y speccy seatools rufus | |
| # Finalise and run updates | |
| Install-WindowsUpdate -Full | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment