Мне нужно посмотреть последние несколько строк большого файла (типичный размер - 500 МБ-2 ГБ). Я ищу эквивалент команды Unix tail
для Windows Powershell. Доступны несколько альтернатив,
http://tailforwin32.sourceforge.net/
и
Get-Content [filename] | Select-Object -Last 10
Для меня не разрешено использовать первый вариант, а второй вариант медленный. Кто-нибудь знает об эффективной реализации хвоста для PowerShell.