Windows11中的默认应用有多大? Win11默认预装应用约占1.6GB磁盘空间

Oofhours 的一份新报告就揭开了 Windows 11 中的默认应用有多大?Windows 11 的默认预装应用大小约为 1.6GB,我们小伙伴觉得多不多?详细请看下文介绍

很多朋友想要知道安装win11系统要多少空间?与许多操作系统一样,微软也在其 Windows 11、Windows 10 和其他产品中提供了一堆默认应用。Oofhours 的一份新报告就揭开了 Windows 11 中的默认应用有多大

如下图所示,使用 PowerShell 提供的查询功能,我们能够计算出 Windows 11 默认应用的大小。这些应用已按大小(以字节为单位)降序排序,可以看到 Microsoft Teams 是最大的应用占用了大约 91MB 的空间

然而,该查询只是指向了 XML 文件位置,而部分应用有另一个文件夹,需要额外计算大小比如 Microsoft Store Purchase 显示大小为 11KB,但实际大小为 37MB。

对列出的每一个应用进行检查后发现,Windows 11 的默认预装应用大小约为 1.6GB,我们小伙伴觉得多不多?

以下是在 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

以上就是安装win11系统要多少空间的详细介绍,希望大家喜欢,请继续关注0133技术站。

相关推荐:

win11如何把桌面文件保存路径设置在D盘? win11桌面文件路径更改技巧

Win11局域网共享权限在哪里设置? Win11高级共享的设置技巧

win11怎么查看文件大小和占用空间? win11文件属性的查看方法

以上就是Windows11中的默认应用有多大? Win11默认预装应用约占1.6GB磁盘空间的详细内容,更多请关注0133技术站其它相关文章!

赞(0) 打赏
未经允许不得转载:0133技术站首页 » windows