Get-Content <my_log_file> -Wait -Tail 10
-Wait signifies wait for new logs and display it
-Tail 10 signifies display the last 10 lines from <my_log_file>
Get-Content <my_log_file> -Wait -Tail 10
-Wait signifies wait for new logs and display it
-Tail 10 signifies display the last 10 lines from <my_log_file>
Leave a Reply