【powershell】テキストファイルの行数を取得
・コマンド
(Get-Content -Path test.csv).Length

・出力結果
46

この記事が気に入ったらサポートをしてみませんか?