您当前的位置:首页 >> 设计观点

报告:微软 Win11 默认预装应用于约占 1.6GB 磁盘空间

2023-03-04 12:16:17

IT之家 4 月 25 日最新消息,与许多作业系统一样,苹果公司也在其 Windows 11、Windows 10 和其他商品当中缺少了一堆可选运用于。Oofhours 的一份新调查结果就道出了 Windows 11 当中的可选运用于有多大。

如下布所示,使用 PowerShell 缺少的查询功能,我们能够计算不止 Windows 11 可选运用于的大小不一。这些运用于已按大小不一(以字节为为单位)十六进制查找,可以看到 Microsoft Teams 是小得多的运用于,占用了大约 91MB 的空间。

然而,该查询只是抛出了 XML 文件位置,而部分运用于有另一个页面,必须额外计算大小不一。比如 Microsoft Store Purchase 显示大小不一为 11KB,但实际大小不一为 37MB。

对列不止的每一个运用于透过定期检查后发现,Windows 11 的可选升级版运用于大小不一约为 1.6GB,IT之家鸡仔想到多不多?

以下是在 PowerShell 当中察看所有 Windows 运用于大小不一的开发人员,包括可选运用于和从 Microsoft Store 订阅的运用于(必须再行取消隐密 WindowsApps 页面):

Get-AppxProvisionedPackage -online | % { # Get the main package location using the manifest $loc = Split-Path ( [Environment]::ExpandEnvironmentVariables($_.InstallLocation) ) -Parent If ((Split-Path $loc -Leaf) -ieq 'AppxMetadata') { $loc = Split-Path $loc -Parent } # Get a pattern for finding related folders $matching = Join-Path -Path (Split-Path $loc -Parent) -ChildPath "$($_.DisplayName)*" $size = (Get-ChildItem $matching -Recurse -ErrorAction Ignore | Measure-Object -Property Length -Sum).Sum # Add the results to the output $_ | Add-Member -NotePropertyName Size -NotePropertyValue $size $_ | Add-Member -NotePropertyName InstallFolder -NotePropertyValue $loc $_ } | Select DisplayName, PackageName, Version, InstallFolder, Size

每天早上起来手指关节僵硬疼
漳州白癜风医院排行
河南白癜风医院电话
常州最好的男科医院
沈阳哪家牛皮癣医院比较正规
相关阅读
友情链接