Jump to content

Windows Bileşenlerinin Gerçek Boyutlarını öğrenmek...


deli_petro06
 Share

Recommended Posts

Cümleten Selamun Aleyküm arkadaşlar...

Paylaşılan Betik...

Spoiler
Get-AppxProvisionedPackage -online | % {
	# Get the main app 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

NOT: Konu özetlenerek eklenmiştir. Betik içeriği açıkça paylaşıldığı ve sakıncalı bir durum görmediğim için ben kullandım. Windows Deneyimlerim konusunda da belirttiğim gibi önünüze her gelen uygulama yada .bat, .ps1 v.b. dosyaları yönetici modunda çalıştırmak sakıncalı olabilir. Tam olarak güveniyorsanız paylaşılan bu betiği kullanmanızı tavsiye ederim...

ORJİNAL KONU LİNKİ:

BYTE BOYUTUNU KOLAYCA MB ÇEVİREBİLECEĞİNİZ BİR SİTE LİNKİ:

Windows 10 da test edilmiştir...

Edited by deli_petro06
  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...