powershell, pwsh, windows/*: fix PowerShell conventions (#11465)

This commit is contained in:
Reinhart Previano Koentjoro
2023-11-12 16:46:05 +07:00
committed by GitHub
parent 1027451fe5
commit 159626c127
37 changed files with 166 additions and 119 deletions

View File

@@ -1,20 +1,20 @@
# remove-appxpackage
# Remove-AppxPackage
> A PowerShell utility to remove an app package from one or more user accounts.
> More information: <https://learn.microsoft.com/powershell/module/appx/remove-appxpackage>.
> More information: <https://learn.microsoft.com/powershell/module/appx/Remove-AppxPackage>.
- Remove an app package:
`remove-appxpackage {{package}}`
`Remove-AppxPackage {{package}}`
- Remove an app package for a specific user:
`remove-appxpackage {{package}} -User {{username}}`
`Remove-AppxPackage {{package}} -User {{username}}`
- Remove an app package for all users:
`remove-appxpackage {{package}} -AllUsers`
`Remove-AppxPackage {{package}} -AllUsers`
- Remove an app package but preserve it's app data:
`remove-appxpackage {{package}} -PreserveApplicationData`
`Remove-AppxPackage {{package}} -PreserveApplicationData`