# PS4 PKG List Generator - Run this in your PS4 PKG root folder $OutputFile = "PS4_Inventory_$(Get-Date -Format 'yyyyMMdd').csv" Get-ChildItem -Path . -Filter *.pkg -Recurse | ForEach-Object $File = $_ # Extract Title ID from filename (assuming format already cleaned) if ($File.Name -match 'CUSA\d5') $TitleID = $Matches[0] else $TitleID = "UNKNOWN" [PSCustomObject]@ FileName = $File.Name TitleID = $TitleID SizeGB = [math]::Round($File.Length / 1GB, 2) FullPath = $File.FullName ModifiedDate = $File.LastWriteTime
Here is the gold standard format for a : ps4 pkg list better
| Export-Csv -Path $OutputFile -NoTypeInformation Write-Host "Better PS4 PKG list saved to $OutputFile" # PS4 PKG List Generator - Run this