I have an use case where i need to do wmi queries on remote windows server using go

Hi Team,

I have an use case where in i need to do wmi connection to remote windows server, basically, i need to pass the hostname, user credentials, once the wmi connection is established to remote host, need to run the wmi queries on the remote server to get the server details, how can i achieve this in go, when i searched in python they have the implementation already in python. Need help on this, request how to solve my use case

i see some go libraries where it does the wmi enumeration for local system.

Thanks
Pratap

Hello there. If you have ssh installed on windows machine and wmi command line util, maybe you can use Golang ssh sessions to run commands on remote terminal?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.