Hello I am trying to uninstall some windows apps by using PowerShell however I am bumping into an error when I use a specific parameter.
I start a new PowerShell prompt as administrator and type:
Get-AppxPackage | Where-Object {$_.PackageFullName -like "*solitaire*"} | Remove-AppxPackage -Allusers
This results in the following error output:
When I run the exact same command only without the -Allusers parameter. The removal is successful 
The app is gone.
Why does specific parameter raise an error? Does somebody know?
Powershell: 5.1.19041.1
Windows 10 Pro