Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Suggestion: app cleanup on current user #26

Closed
abulgatz opened this issue May 30, 2018 · 2 comments
Closed

Suggestion: app cleanup on current user #26

abulgatz opened this issue May 30, 2018 · 2 comments

Comments

@abulgatz
Copy link
Contributor

I'd recommend adding this line:

Get-AppxPackage | Where-Object {$_.Name -NotMatch $WhitelistedApps} | Remove-AppxPackage -ErrorAction SilentlyContinue

Right after this line:

Get-AppxPackage -AllUsers | Where-Object {$_.Name -NotMatch $WhitelistedApps} | Remove-AppxPackage -ErrorAction SilentlyContinue

This will remove apps from the currently logged in user account.

@Sycnex
Copy link
Owner

Sycnex commented Jun 11, 2018

Done. Thanks.

@Sycnex Sycnex closed this as completed Jun 11, 2018
@abulgatz
Copy link
Contributor Author

Thanks, but looking at the script and the git history I don't see that you've added this line? Did you push the changes?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants