I'm having a bit of trouble finding info on getting a SNMP working in vbscript/WSH. All of the code samples I have tried havent worked even when I tried to simplify it down.

Basically what I am looking for is fairly simple. I have a Server IP Address, a Community name, and one OID (numerical) value which I am trying to get the value of. I have the Net-SNMP package so that I can use the snmp-get command line. The result would need to return in a text file. Pretty simple really.

Any and all help is greatly appreciated.

Thanks.