2020-02-06 powershell - ForEach-Object powershell sample Get-Content -Encoding UTF8 ./test.txt | ForEach-Object { Write-Output $_ } Get-Content -Encoding UTF8 ./test.txt | foreach { Write-Output $_ } Get-Content -Encoding UTF8 ./test.txt | % { Write-Output $_ } PowerShell実践ガイドブック ~クロスプラットフォーム対応の次世代シェルを徹底解説~作者:吉崎 生出版社/メーカー: マイナビ出版発売日: 2018/05/30メディア: 単行本(ソフトカバー)