|
本帖最后由 黑中见白 于 2021-5-8 19:20 编辑
ntlie或者dism++删、、开始
<# :
@powershell "icm ([scriptblock]::Create((gc '%~f0' -Raw -Encoding UTF8)))"
exit
#>
#powershell
#卸载所有UWP应用.cmd
$保留=("Store","Native","Xaml","VCLibs","DesktopAppInstaller","InputApp","BrokerPlugin","PPIProjection","CloudExperienceHost","Cortana","OOBENetwork","StartMenuExperienceHost","ShellExperienceHost","HEIFI","VP9","WebM","Webp","imme")
$删除列表= Get-AppXPackage| Where-Object { $_.Name} | Select-String -Pattern $保留 -NotMatch #排除
$删除列表| Remove-AppxPackage
Start-Sleep -Milliseconds 5000
#等待5秒自动退出
//结束
重新安装商店也简单,自己下载appx,
|
|