is there a way to query the domain for a list of domain computers?
Ultimately i want to rename a computer and join it to a domain.
I want to be able to step through computer names pc1, pc2 by verifying the computer is not already on the domain or the computer name inst already being used, then naming the next sequential number.


Thanks