Hi, I don't think there exists WMI client implementation in Go. You could try cgo with samba WMI implementation
https://github.com/greenbone/openvas-smb Thanks, Aravindhan K On Mon, Feb 8, 2021, 1:49 AM Tom Limoncelli <t...@whatexit.org> wrote: > I've been using Unix for decades (and Go since the pre-releases) and > now I find myself needing to use Go to talk to the Windows WMI system. > There isn't a lot of GO-specific documentation and I could use help > figuring out where to get started. Sadly google searches for getting > started with WMI are about as useful as learning to perform surgery by > googling for "broken bone". > > I'm trying to use WMI to talk to the Windows DNS Server. My MVP would > be to do the equivalent of adding an A or MX record to an existing DNS > zone (similar to > > https://docs.microsoft.com/en-us/windows/win32/dns/dns-wmi-provider-samples-managing-dns-resource-records > ) > > Can anyone point me in the right direction? What are the best > resources for learning WMI in general? > > Thanks in advance! > Tom > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/CAHVFxgnqjd%2BwZjYiJ3YyhHDFaVHuTEQCrapiECaTzFvFY8qNMA%40mail.gmail.com > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAJn1S2Pbe0BGt1Nt1_RZw5OHg1w8%3Df95XPyr2X0wZJ3Gqjo%3D4Q%40mail.gmail.com.