Retrieve Specific Line of a Log File

Version 2

    #need to get the last line of a log file?


    #what about the last 2 lines?


    #or how about the second to last line?


    #And what if I only want the last 8 characters of that line?


    Flexible Powershell to grab specific lines of the log file