ls -r "C:\TargetPath" | %{ [PSCustomObject]@{ ファイル名 =$_.PSChildName; Path =$_.FullName; 拡張子 =$_.Extension; サイズ =$_.Length; 作成日時 =$_.CreationTime; 最終アクセス日時=$_.LastAccessTime; 最終更新日時 =$_.LastWriteTime} } | Out-GridView
ls -r "C:\TargetPath" | %{ [PSCustomObject]@{ ファイル名 =$_.PSChildName; Path =$_.FullName; 拡張子 =$_.Extension; サイズ =$_.Length; 作成日時 =$_.CreationTime; 最終アクセス日時=$_.LastAccessTime; 最終更新日時 =$_.LastWriteTime} } | Out-GridView