11 lines
441 B
PowerShell
11 lines
441 B
PowerShell
# REMOVE all applications except the Store...
|
|
|
|
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
|
|
|
|
$progressPreference = 'SilentlyContinue'
|
|
Get-AppxPackage -AllUsers | where-object {$_.name -notlike "*store*"} | Remove-AppxPackage
|
|
Get-AppxProvisionedPackage -online | where-object {$_.name -notlike "*store*"} | Remove-AppxProvisionedPackage -online
|
|
|
|
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
|
|
|