O'Reilly logo
  • James World thinks this is interesting:

This provides a simple way to get the length of a file:

From

Cover of Windows PowerShell in Action, Second Edition

Note

This gives the number of lines in the file, not the length.