Finding ADDomainController with wild card

Thanks, that worked. In all I tried I didn’t get the syntax correct. And yes, the output to the console is due to it being part of a larger script - actually reading the STDOut with -ForegroundColor parameter and pulling that into a custom GUI. Thanks again for the push in the right direction.