10/04/09 10:10:20 pUS39GQq
Format-List の出力を行単位で取り出すにはどう書けばいいですか?
> Get-ChildItem .\hoge.txt | Format-List | foreach {echo "[" $_ "]" }
[
ディレクトリ: C:\hoge
]
[
Name : hoge.txt
Length : 9
CreationTime : 2010/04/09 9:59:24
LastWriteTime : 2010/04/09 9:59:48
LastAccessTime : 2010/04/09 10:03:44
VersionInfo : File: C:\hoge\hoge.txt
InternalName:
OriginalFilename:
FileVersion:
FileDescription:
Product:
ProductVersion:
Debug: False
Patched: False
PreRelease: False
PrivateBuild: False
SpecialBuild: False
Language:
]
...
この Name Length を一行ずつ取り出したいのですが。。。