mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 05:55:46 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
25
tldr/windows/remove-appxpackage
Normal file
25
tldr/windows/remove-appxpackage
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# Remove-AppxPackage
|
||||
|
||||
> A PowerShell utility to remove an app package from user accounts.
|
||||
> More information: <https://learn.microsoft.com/powershell/module/appx/Remove-AppxPackage>.
|
||||
|
||||
- Remove an app package:
|
||||
|
||||
`Remove-AppxPackage {{package}}`
|
||||
|
||||
- Remove an app package for a specific user:
|
||||
|
||||
`Remove-AppxPackage {{package}} -User {{username}}`
|
||||
|
||||
- Remove an app package for all users:
|
||||
|
||||
`Remove-AppxPackage {{package}} -AllUsers`
|
||||
|
||||
- Remove an app package but preserve it's app data:
|
||||
|
||||
`Remove-AppxPackage {{package}} -PreserveApplicationData`
|
||||
Reference in New Issue
Block a user