Gather DNS entires on each computer



  • Official comment
    Brigg Angus

    Good news. With the introduction of Inventory 15 (the beta was released yesterday), you can get the DNS information on machines using the WMI Scanner, including the DNS search order.

    There's an example for doing just that in this KB, Inventory WMI Scanner: Usage and Examples.

    Since it's a beta, I recommend installing it on a different machine than your production PDQ Inventory console.


    Comment actions Permalink
  • SelfMan

    As i am not sure if the DNS information is collected, the easiest way is to deploy a small batch with the following command in it:

    ipconfig /all >> \\server\share\ip-settings.txt


    netsh interface ip show dnsservers > \\server\share\%computername%-dns-info.txt


    Comment actions Permalink

Please sign in to leave a comment.