cd C:\Path to top level of folder
Get-ChildItem -Recurse | Select-Object FullName,Length | Export-Csv C:\Output location\file-sizes.csv
cd C:\Path to top level of folder
Get-ChildItem -Recurse | Select-Object FullName,Length | Export-Csv C:\Output location\file-sizes.csv