もっと詳しく

IT House April 25 news, like many operating systems, Microsoft is also in its Windows 11,Windows 10 and other products come with a bunch of default apps. A new report from Oofhours reveals How big are default apps in Windows 11.

As shown in the figure below, using the query function provided by PowerShell, we were able to calculate the size of the default application of Windows 11.These apps are sorted by size (in bytes) in descending order, you can see Microsoft Teams is the biggest appwhich takes up about 91MB of space.

However, the query just points to the XML file location, and some apps have another folder,Requires extra calculation of size. For example, Microsoft Store Purchase shows a size of 11KB, but the actual size is 37MB.

An inspection of each of the listed apps found thatThe default preinstalled app size for Windows 11 is about 1.6GBWhat do you think about the IT home friends?

Here’s a script to view the size of all Windows apps in PowerShell, including default apps and apps downloaded from the Microsoft Store (need to unhide the WindowsApps folder first):

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

.
[related_posts_by_tax taxonomies=”post_tag”]

The post Report: Microsoft Windows 11 default pre-installed apps occupy about 1.6GB of disk space appeared first on Gamingsym.