I try to remove all windows 10 default apps, except some specific apps(for example windows store and windows dvd player). The only way I found via google to do this, is the following Powershell-Command:
Get-AppxPackage | Remove-AppxPackage | where-object {$_.Name -notlike "Microsoft.WindowsDVDPlayer", "*store*"}
This seems to work for everyone, except me. The command removes all apps for the logged in user and seems to ignore the "where-object" part. Is there any other way to do this(or does someone know why it won't work for me) ?