umm this code did not work for me. I guess you were trying to output the data to a text fileThe code that worked for me from the DNS server was dcdiag /test:dns /v /DnsBasic >> c:\tmp\dcdiagreport.txt
↧