← Share another text

Shared on Droptext

Untitled text

Posted on 2026-11-105 views
$desktop = [Environment]::GetFolderPath("Desktop") $since = (Get-Date).AddHours(-24) Get-ChildItem -Path $desktop -Recurse -Force -File -ErrorAction SilentlyContinue | Where-Object { $_.LastWriteTime -ge $since -or $_.CreationTime -ge $since } | Select-Object FullName, Extension, CreationTime, LastWriteTime, Length | Sort-Object LastWriteTime -Descending | Format-Table -AutoSize