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.
Microsoft PowerShell scripts
If for some reason the Bitlocker key of your hard drive is missing in Active Directory, then you can execute the following commands to still backup the Bitlocker key.
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.