Get-ChildItem "D:\" -Recurse -Force -ErrorAction SilentlyContinue | Where-Object { $_.FullName.Length -ge 260 } | Select-Object FullName, @{Name="Length";Expression={$_.FullName.Length}} | Export-Csv "D:\LongPath_Report.csv" -NoTypeInformation