PowerShell: Find File Owned by User
$searchPath = 'C:\Program Files'
$userName = 'john.doe'
Get-ChildItem -ErrorAction 'SilentlyContinue' -Force -File -Recurse -Path "$searchPath" |
Where-Object { try { (Get-Acl $_.FullName).Owner -like "*$userName*" } catch {} }