Last active
April 3, 2019 11:57
-
-
Save perkinsjr/a85541f6fea9bc07532a065e28606d2c to your computer and use it in GitHub Desktop.
Choco install for dev machine and remove some UWPs that no body needs
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
ECHO Installing apps | |
ECHO Configure chocolatey | |
choco feature enable -n allowGlobalConfirmation | |
# DEV | |
choco install notepadplusplus | |
choco install nodejs | |
choco install git.install | |
choco install gitkraken | |
choco install python | |
choco install visualstudio2017buildtools | |
choco install jdk8 | |
choco install maven | |
choco install boostnote | |
choco install vscode | |
# DEVOPS | |
choco install filezilla | |
choco install terminus | |
choco install docker-desktop | |
#Misc | |
choco install 7zip | |
choco install postman | |
choco install bitwarden | |
# Browsers | |
choco install brave | |
# Optional | |
#choco install slack | |
#choco install mongodb | |
#choco install androidstudio | |
#choco install yeoman | |
#choco install vscode-icons | |
#choco install nuclear | |
#choco install spotify | |
choco feature disable -n allowGlobalConfirmation |
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
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit } | |
# To list all appx packages: | |
# Get-AppxPackage | Format-Table -Property Name,Version,PackageFullName | |
Write-Host "Removing UWP Rubbish..." -ForegroundColor Green | |
Write-Host "------------------------------------" -ForegroundColor Green | |
$uwpRubbishApps = @( | |
"Microsoft.Messaging", | |
"king.com.CandyCrushSaga", | |
"Microsoft.BingNews", | |
"Microsoft.MicrosoftSolitaireCollection", | |
"Microsoft.People", | |
"Microsoft.WindowsFeedbackHub", | |
"Microsoft.YourPhone", | |
"Microsoft.MicrosoftOfficeHub", | |
"Fitbit.FitbitCoach", | |
"4DF9E0F8.Netflix") | |
foreach ($uwp in $uwpRubbishApps) { | |
Get-AppxPackage -Name $uwp | Remove-AppxPackage | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment