Showing results for Array - PowerShell Community

Mar 5, 2021
5
1

Reading a text file bottom up

@DoctorDNS
@DoctorDNS

Q: I have a log file in which new data is appended to the end of the file. That means the most recent entries are at the end of the file. I’d like to be able to read the file starting with the last line and then ending with the first line, but I can’t figure out how to do that. A: There are loads of ways you can do this. A simple way is to use the...

Scripting Guys UpdateArray