いや、こうか。
Get-ChildItem -LiteralPath <親フォルダ> -Directory | %{
$file = @($_ | Get-ChildItem -Force -Recurse -File)
[PSCustomObject] @{
Path = $_.FullName
LastWriteTime = ($file | measure LastWriteTime -Maximum).Maximum
Length = ($file | measure Length -Sum).Sum
}
} | ConvertTo-Csv -NoTypeInformation
PowerShell -Part 6
■ このスレッドは過去ログ倉庫に格納されています
558デフォルトの名無しさん
2022/09/25(日) 14:01:26.72ID:5ly2Ski6■ このスレッドは過去ログ倉庫に格納されています
