Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

Script to detect when Netbios name different than DNS name

$
0
0

Thank you for reading this.

I am a PS greenhorn so please help with:

I need a PS script which loads a txt list of computers one per line and identifies, redirecting to a text file same format, which computers do have Netbios names different than DNS names(meaning, A records) and eventually a second file with the correct records.

E.g. when I ping a certain machine it gives me an IP but when I nslookup for it, it gives me another one... you already know what I am talking about... dirty DNS...

Thank you in advance, regards.


Viewing all articles
Browse latest Browse all 8583

Trending Articles