Show Active Directory colored computerlist

This is a way to display all computer objects in Active Directory of the type “Server”. If the server is reachable, then display the name in green, otherwise red.

Using PowerShell to read large logfiles

Sometimes logfiles can become very large and difficult to open. If you only need to see the end of the logfile, for instance the last 100 lines, then you can use PowerShell to show just these lines. In this example you can view the last 100 lines of the very large logfile called C:\Log\VeryLargeLogFile.log.