Fetch only first line from text file using Windows Batch File
How to select the first 10 columns of a headerless csv file using PowerShell?
How to remove First and Last Line in Powershell
#45 : Display top n lines or last n lines of a file
Copying the First n Lines of a Text File using PowerShell
PowerTip: Read First Line of File with PowerShell
Introduction To Using Text Files With PowerShell
Display first n lines, lines in middle or last n lines of a file with powershell