Powershell rocks if you know how to use it. Join a computer to the domain; $ add-computer -domain {fqdn} -cred {domain}\{username} Find a file in a directory $ gci | select-string myfile.txt