Scripting Question

Gathering DNS information

04/10/2018 1140 views

So I am being tasked with using KACE to pull all of our client machine primary/secondary DNS information.  I contacted support in which they told me this was not supported and sent me a link to the consulting services contact info.  

I was reviewing this link --> http://www.itninja.com/question/custom-inventory-fields

I do see that there is a field you could use value "RegistryValueReturn", however I'm not sure how to get this to work correctly.  This is the first time I've had to work with KACE and the reporting functionality.  I do know that the registry setting is held  here: --> HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\NameServer

Is there a way to capture this data into a custom field and report on it?

0 Comments   [ + ] Show comments


Community Chosen Answer

I recently wrote a Powershell script to find Windows computer which aren't using our standard DNS servers. Here's the part of the script which may be of interest to you

 (GWMI Win32_NetworkAdapterConfiguration).DNSServerSearchOrder

Answered 04/13/2018 by: PaulGibson
Orange Belt

  • Another admin found that and ended up using it in our script. Thanks!

All Answers

Tech Support is only for Break\Fix Scenarios, creating or modifying a report, script or ticket rule is considered "custom" (not break\fix) and is not a KACE support feature.

"New to KACE Products or just inherited an SMA or SDA? Have a project or need something configured on the fly?"



The question itself, the answer is yes, but you will need code\build a good Custom Inventory Rule and combine that with a report.



Answered 04/10/2018 by: Channeler
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ