I have csv file and want to output a new csv file, that only contains the first 10 lines form the original one. I\'ve so far only found code to delete single lines or lines that
Get-Content "C:\start.csv" | select -First 10 | Out-File "C:\stop.csv"
That did it