Windows Recycle Bin

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2024 Dec 12 10:29
Editor
Edited
Edited
2024 Dec 12 10:30
Refs
Refs

$R file

real file

$I file

check all meta-information
Get-ChildItem $I* | ForEach-Object { try { $bytes = [System.IO.File]::ReadAllBytes($_.FullName) if ($bytes -ne $null) { $originalPath = [System.Text.Encoding]::Unicode.GetString($bytes, 24, $bytes.Length - 26) Write-Host "$($_.Name) -> $originalPath" } else { Write-Host "$($_.Name) -> Metadata not found." } } catch { Write-Host "$($_.FullName) -> Access denied or invalid file format." } }
 
 
 
 
 
 
 

Recommendations