New to Powershell scripting and could use a little help. I modified this script to pull the local admins from all PC’s in an OU and generate a CSV. The script runs fine, the output isn’t exactly what i’m looking for and not sure how to fix. Below is the script and the CSV output (I highlighted both lines in bold red that I need help with). Where it has “System.DirectoryServices.SearchResult” I would like to have the PC DNS name. Thank you in advance for all of your help!