This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
os:windows:remove_windows_store_apps [2023/05/12 17:11] – removed The SuperUser | os:windows:remove_windows_store_apps [2023/05/12 17:21] – old revision restored (2023/05/12 17:01) The SuperUser | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Remove Windows Store apps ====== | ||
+ | |||
+ | Original found via the MS forums: [[https:// | ||
+ | |||
+ | Find your apps here: | ||
+ | <code powershell> | ||
+ | Get-AppxProvisionedPackage -online | Format-Table -Property DisplayName | ||
+ | Get-AppxPackage | Format-Table -Property Name | ||
+ | </ | ||
+ | |||
+ | And here is the code to remove them: | ||
+ | <code powershell> | ||
+ | $AppsList = " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | |||
+ | ForEach ($App in $AppsList) | ||
+ | { | ||
+ | $Packages = Get-AppxPackage | Where-Object {$_.Name -eq $App} | ||
+ | if ($Packages -ne $null) | ||
+ | { | ||
+ | " | ||
+ | foreach ($Package in $Packages) { Remove-AppxPackage -package $Package.PackageFullName } | ||
+ | } | ||
+ | else { " | ||
+ | $ProvisionedPackage = Get-AppxProvisionedPackage -online | Where-Object {$_.displayName -eq $App} | ||
+ | if ($ProvisionedPackage -ne $null) | ||
+ | { | ||
+ | " | ||
+ | remove-AppxProvisionedPackage -online -packagename $ProvisionedPackage.PackageName | ||
+ | } | ||
+ | else { " | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Copy and paste that code into an admin powershell window | ||
+ | |||