PowerShell Tail Command
Добавлено: 21 апр 2017, 16:41
UTF-8Код: Выделить всё
chcp 65001
As an example:
Gets the last two lines of the log file:
Код: Выделить всё
Get-Content .\u_ex160511.log -Tail 2
Gets the last two lines of the log file, and waits for more.
Код: Выделить всё
Get-Content .\u_ex160511.log -Tail 2 –Wait