Win10 powershell app commands

Win10 powershell app commands


REMOVE ALL APPS
Get-AppXPackage | Remove-AppxPackage
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online

REMOVE ALL APPS FROM SPECIFIC ACCOUNT
Get-AppXPackage -User <username> | Remove-AppxPackage

REMOVE ALL APPS FROM ALL USER ACCOUNTS
Get-AppxPackage -AllUsers | Remove-AppxPackage

REMOVE A SPECIFIC PACKAGE
Remove-AppxPackage -Confirm -Package <packagefullname>

REMOVE ALL APPS BUT WINDOWS STORE
Get-AppxPackage -AllUsers | Remove-AppxPackage | where {$_.Name -notlike "*Store*"}




SHOW ALL APPS INSTALLED
get-appxpackage -allusers

SHOW ALL APPS AND FILTER RESULTS TO SHOW ONLY NAME AND PACKAGEFULLNAME
get-appxpackage -allusers | Select Name,PackageFullName

SHOW ALL APPS INSTALLED EXEMPT ONES CONTAINING "STORE"
get-appxpackage -allusers | Select Name,PackageFullName | where {$_.Name -notlike "*Store*"}

No comments:

Post a Comment