How to get the first few lines of a file using Powershell?
Many times system administrators are required to fetch the first few lines of a file. Powershell can help you fetch a specific number of lines from the top, bottom, or from middle of the file. We will look at the …