Hello,
Using the powershell command:
Get-Content "Filename" -Wait -Tail 10
showing Real-Time contents of a file in powershell doesn't work.
As example i would like to show Real-Time contents of a systemout.log file in a IBM Websphere Environment.
Using the above command, the shell remain in "listening mode" but nothing happens even if the Systemout.log file changes.
In a unix environment it is enough to type "tail -f filename" and everything work correctly.
Is it possible to use a "tail -f" equivalent command in Powershell to show real time logging?
Thank You in advance.
Fausto.
- Edited by Fausto Grossi Friday, May 15, 2015 4:08 PM