Here is a PowerShell script which you can use to identify the domain membership of remote computers . You can use a text file as an input file with all your computers names. This script generates 2 output files; Domain_Success_File.txt and Domain_Failed_File.txt.
Here is the input file format:
Usage: Add all computer names to the Computers.txt file and run the Check_Domain_Membership.PS1 script.





