Last active
February 18, 2020 14:54
-
-
Save RubenFlorissen/83ec7d754660d961b72e950211df521b to your computer and use it in GitHub Desktop.
PowerShell Script For Barebone Windows Install
This file contains 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
# Feel free to copy anything from this script! | |
# Run this as an ADMIN! | |
# Needed for Chocolately install | |
# If the script gives you any errors, it's likely that you haven't set the ExecutionPolicy to Unrestricted. Run the code below to do this. | |
# Set-ExecutionPolicy Unrestricted | |
# Please note that this is not secure, this will result in the possibility that malicious programs can freely execute PowerShell scripts on the computer. Set this flag to: Set-ExecutionPolicy Restricted, after running this script! | |
# Install Chocolately | |
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')) | |
# Install Base Apps | |
choco install firefox | |
choco install 7zip | |
choco install sharex | |
choco install vscode | |
choco install procexp | |
# Uninstall Windows Bloatware App Packages | |
# Bing trash | |
Get-AppxPackage Microsoft.BingFinance | Remove-AppxPackage | |
Get-AppxPackage Microsoft.BingNews | Remove-AppxPackage | |
Get-AppxPackage Microsoft.BingSports | Remove-AppxPackage | |
Get-AppxPackage Microsoft.BingWeather | Remove-AppxPackage | |
# Other Packages | |
Get-AppxPackage Microsoft.3DBuilder | Remove-AppxPackage | |
Get-AppxPackage *Dropbox* | Remove-AppxPackage | |
Get-AppxPackage *Facebook* | Remove-AppxPackage | |
Get-AppxPackage Microsoft.WindowsFeedbackHub | Remove-AppxPackage | |
Get-AppxPackage Microsoft.Getstarted | Remove-AppxPackage | |
Get-AppxPackage Microsoft.WindowsMaps | Remove-AppxPackage | |
Get-AppxPackage Microsoft.Messaging | Remove-AppxPackage | |
Get-AppxPackage *Minecraft* | Remove-AppxPackage | |
Get-AppxPackage *Netflix* | Remove-AppxPackage | |
Get-AppxPackage Microsoft.MicrosoftOfficeHub | Remove-AppxPackage | |
Get-AppxPackage Microsoft.OneConnect | Remove-AppxPackage | |
Get-AppxPackage Microsoft.Office.OneNote | Remove-AppxPackage | |
Get-AppxPackage Microsoft.People | Remove-AppxPackage | |
Get-AppxPackage Microsoft.WindowsPhone | Remove-AppxPackage | |
Get-AppxPackage *Plex* | Remove-AppxPackage | |
Get-AppxPackage Microsoft.SkypeApp | Remove-AppxPackage | |
Get-AppxPackage Microsoft.WindowsSoundRecorder | Remove-AppxPackage | |
Get-AppxPackage *Solitaire* | Remove-AppxPackage | |
Get-AppxPackage Microsoft.Office.Sway | Remove-AppxPackage | |
Get-AppxPackage *Twitter* | Remove-AppxPackage | |
Get-AppxPackage Microsoft.XboxApp | Remove-AppxPackage | |
Get-AppxPackage Microsoft.XboxIdentityProvider | Remove-AppxPackage | |
Get-AppxPackage Microsoft.ZuneMusic | Remove-AppxPackage | |
Get-AppxPackage Microsoft.ZuneVideo | Remove-AppxPackage | |
# Privacy Settings: | |
# I've decided to leave out privacy settings, because most of these settings can be changed while installing Windows 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment