いわゆる UnixやLinuxなどでtail -f コマンドに該当することをWindows Powershellで実現させます。
Get-Content -Path “C:\tmp\MyApplicationLog.txt” -Wait -Last 10 -Encoding “UTF8”
-Encoding には適切な文字コードを指定
文字コード表

Code Page Identifiers - Win32 apps
The following table defines the available code page identifiers.
コメント