Last active
January 4, 2019 18:26
-
-
Save Nesousx/5abae2659b4a5aa2a01e9642cf27cef4 to your computer and use it in GitHub Desktop.
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
#### Prepare my Gaming Box | |
#### Best served with Windows 10 | |
#### Run locally with the following flag: -ExecutionPolicy Bypass | |
#### More info: https://www.masoopy.com/automagically-deploy-apps-with-gpo-and-boxstarter/ | |
### Determine which version of PowerShell is running | |
if ($PSVersionTable.PSversion.Major -eq "2") | |
## PowerShell V2 | |
{ | |
iex ((New-Object System.Net.WebClient).DownloadString('https://boxstarter.org/bootstrapper.ps1')); get-boxstarter -Force | |
} | |
else | |
## PowerShell V3 | |
{ | |
. { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
} | |
## List of apps to be installed | |
$apps = "Firefox", "steam", "glaryutilities-free", "vlc", "windirstat", "7zip", "notepadplusplus", "uplay", "origin", "keepassxc", "nextcloud-client", "sysinternals", "dolphin", "geforce-game-ready-driver" | |
foreach($app in $apps) { | |
cinst -y $app | |
} | |
## Play with Windows options | |
Enable-RemoteDesktop | |
Disable-BingSearch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment