Browse Source

Update remove-default-apps.ps1

After removing desired apps, the following change will unpin any remaining tiles from the default Start Menu.
pull/86/head
Kye Davey 9 years ago
committed by GitHub
parent
commit
933b9f5251
  1. 3
      scripts/remove-default-apps.ps1

3
scripts/remove-default-apps.ps1

@ -94,3 +94,6 @@ foreach ($app in $apps) {
where DisplayName -EQ $app |
Remove-AppxProvisionedPackage -Online
}
# Unpin all remaining tiles from Start Menu
((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{$_.Name}).Verbs() | ?{$_.Name.replace('&','') -match 'From "Start" UnPin|Unpin from Start'} | %{$_.DoIt()}

Loading…
Cancel
Save