hotcore
1
I ran the next code in pwsh 7 on 1 machine without errors:
Get-AppxPackage -AllUsers MicrosoftWindows.Client.WebExperience |
Reset-AppxPackage Get-AppxPackage -AllUsers MicrosoftWindows.Client.CBS |
Reset-AppxPackage Restart-Service WSearch -force
```
But on another one I get this error:
Reset-AppxPackage: A parameter cannot be found that matches parameter name ‘AllUsers’.
Any ideas?
Olaf
2
Are you sure you ran the code like this? I’d expect it to have at least two more line breaks … like this:
Get-AppxPackage -AllUsers MicrosoftWindows.Client.WebExperience |
Reset-AppxPackage
Get-AppxPackage -AllUsers MicrosoftWindows.Client.CBS |
Reset-AppxPackage
Restart-Service WSearch -force
1 Like
hotcore
3
Hi Olaf.
My bad, something went wrong when copying to the new machine. Now, done right, it just works!
Thx for your willingness to help!
system
Closed
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.