SHARE
TWEET

Untitled

a guest Aug 6th, 2015 278 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $modernApps = @("Microsoft.3DBuilder","microsoft.windowscommunicationsapps","Microsoft.BingFinance","Microsoft.BingNews","Microsoft.BingSports","Microsoft.BingWeather","Microsoft.People","Microsoft.WindowsPhone","Microsoft.MicrosoftSolitaireCollection","Microsoft.WindowsSoundRecorder","Microsoft.XboxApp","Microsoft.WindowsCamera","Microsoft.ZuneMusic","Microsoft.ZuneVideo","Microsoft.Office.OneNote","Microsoft.SkypeApp","Microsoft.MicrosoftOfficeHub")
  2.  
  3. foreach ($modernApp in $modernApps) {
  4.  
  5.         Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -match '$modernApp'} | Remove-AppxProvisionedPackage -Online
  6.  
  7. }
RAW Paste Data
Top