Skip to main content
added 81 characters in body
Source Link
js2010
  • 633
  • 6
  • 6

This will work in windows 10 1809:

get-appxpackage *pattern* | remove-appxpackage -AllUsers

or

remove-appxpackage -AllUsers -Package somepackagefullname

This is currently not working:

remove-appxpackage -User somesid -Package somepackagefullname

Piping anything to remove-appxpackage with no options will only remove the packages of the current user. EDIT: actually I think this will take care of current users but not new users.

This will work in windows 10 1809:

get-appxpackage *pattern* | remove-appxpackage -AllUsers

or

remove-appxpackage -AllUsers -Package somepackagefullname

This is currently not working:

remove-appxpackage -User somesid -Package somepackagefullname

Piping anything to remove-appxpackage with no options will only remove the packages of the current user.

This will work in windows 10 1809:

get-appxpackage *pattern* | remove-appxpackage -AllUsers

or

remove-appxpackage -AllUsers -Package somepackagefullname

This is currently not working:

remove-appxpackage -User somesid -Package somepackagefullname

Piping anything to remove-appxpackage with no options will only remove the packages of the current user. EDIT: actually I think this will take care of current users but not new users.

added 3 characters in body
Source Link
js2010
  • 633
  • 6
  • 6

This will work in windows 10 1809:

get-appxpackage *pattern* | remove-appxpackage -AllUsers

or

remove-appxpackage -AllUsers -Package somepackagefullname

This is currently not working:

remove-appxpackage -User somesid -Package somepackagefullname

Piping anything to remove-appxpackage with no options will only remove the packages of the current user.

This will work in windows 10 1809:

get-appxpackage *pattern* | remove-appxpackage -AllUsers

or

remove-appxpackage -AllUsers -Package somepackagefullname

This currently not working:

remove-appxpackage -User somesid -Package somepackagefullname

This will work in windows 10 1809:

get-appxpackage *pattern* | remove-appxpackage -AllUsers

or

remove-appxpackage -AllUsers -Package somepackagefullname

This is currently not working:

remove-appxpackage -User somesid -Package somepackagefullname

Piping anything to remove-appxpackage with no options will only remove the packages of the current user.

added 172 characters in body
Source Link
js2010
  • 633
  • 6
  • 6

This will work in windows 10 1809:

get-appxpackage *pattern* | remove-appxpackage -AllUsers

or

remove-appxpackage -AllUsers -Package somepackagefullname

This currently not working:

remove-appxpackage -User somesid -Package somepackagefullname

This will work in windows 10 1809:

get-appxpackage *pattern* | remove-appxpackage -AllUsers

This will work in windows 10 1809:

get-appxpackage *pattern* | remove-appxpackage -AllUsers

or

remove-appxpackage -AllUsers -Package somepackagefullname

This currently not working:

remove-appxpackage -User somesid -Package somepackagefullname
Source Link
js2010
  • 633
  • 6
  • 6
Loading