Using PowerShell to read large logfiles

Sometimes logfiles can become very large and difficult to open.
If you only need to see the end of the logfile, for instance the last 100 lines, then you can use PowerShell to show just these lines.
In this example you can view the last 100 lines of the very large logfile called C:\Log\VeryLargeLogFile.log.

Get-Content C:\Log\VeryLargeLogFile.log -Tail 100