2011-08-24 2 views

답변

2

가져 오기를-콘텐츠 또한 현재 행 번호와 ReadCount NoteProperty를 추가합니다.

Get-Content foo.txt | foreach { '{0} {1}' -f $_.ReadCount, $_ }