It worked.  Found all 6 servers running DNS and found the SQL Server running
DNS.  They knew they had a SQL Server running DNS, now they know the server
name.

 

Thanks

 

 

Webster

 

From: Michael B. Smith [mailto:[email protected]] 
Subject: RE: Show all DNS Servers in AD

 

And how did it go?

 

 

From: Webster [mailto:[email protected]] 
Subject: RE: Show all DNS Servers in AD

 

I have permission to run this at 8PM Central.

 

 

Webster

 

From: Michael B. Smith [mailto:[email protected]] 
Subject: RE: Show all DNS Servers in AD

 

The SPN trick only works on ADI DNS servers. I checked and verified.

 

What's the firewall status?

 

This two-liner works great for a DA if the firewall lets you through:

 

$computers = dsquery * forestroot -filter objectCategory=computer -attr
dnsHostName -limit 0

foreach( $computer in $computers ) { get-service "DNS Server" -computername
$computer.Trim() -ea 0| out-null; if( $? ) { "DNS Server on $computer" }
else { "...no DNS Server on $computer" } }


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to