Skip to main content
1-Visitor
July 17, 2022
Question

PowerShell Tail Command

  • July 17, 2022
  • 0 replies
  • 1209 views

 

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Get-ChildItem D:\ptc\Windchill_12.0\Windchill\logs\MethodServer-*-log4j.log | Sort -Descending | Get-Content -wait

 

Use above command to get the latest MethodServer log file tail in Windows.