Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2314

File Anzahl Zeilen

$
0
0

ich habe eine 21 GB große Datei und möchte mit Powershell die Anzahl der Zeilen ermitteln.

get-content c:\temp\test.txt | measure

$line = get-content c:\temp\test.txt
$line.count


ist zu langsam. Gibt es etwas schnelleres?


Chris


Viewing all articles
Browse latest Browse all 2314


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>