Skip to content

Instantly share code, notes, and snippets.

@ecspresso
Created September 12, 2018 08:35
Show Gist options
  • Select an option

  • Save ecspresso/9e2ecfe9a44edb89e575194124b89bdf to your computer and use it in GitHub Desktop.

Select an option

Save ecspresso/9e2ecfe9a44edb89e575194124b89bdf to your computer and use it in GitHub Desktop.
Remove annyoing stuff from Windows 10
#https://superuser.com/questions/1068382/how-to-remove-all-the-tiles-in-the-windows-10-start-menu
#Remove all pins
(New-Object -Com Shell.Application).
NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() |
%{ $_.Verbs() } |
?{$_.Name -match 'Un.*pin from Start'} |
%{$_.DoIt()}
# Remove all Win10 store apps
Get-AppxPackage -AllUsers | where-object {$_.name –notlike “*store*”} | Remove-AppxPackage
# Prevent new users from getting said apps
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage –online
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment