Query SNMP settings using Powershell

Answered Query SNMP settings using Powershell

  • Friday, May 11, 2012 3:32 PM
     
     

    Hi everyone,

    I have a bunch of servers W2k3 and W2k8.  I would like to verify their SNMP settings remotely.  Can PS do that?  Thanks in advance.

All Replies

  • Friday, May 11, 2012 3:49 PM
     
     

    Hi everyone,

    I have a bunch of servers W2k3 and W2k8.  I would like to verify their SNMP settings remotely.  Can PS do that?  Thanks in advance.

    What are you calling SNMP settings?

    SNMP is either installed or not. You can get that using Get-Service or GWMI WIn32_Service.

    The community strings are only avaliable in the registry tattoed on the service entry.


    ¯\_(ツ)_/¯

  • Friday, May 11, 2012 5:43 PM
    Moderator
     
     Answered

    I would add that you can apply SNMP settings via a GPO; in this way, you can enforce the settings and there's not a need to verify them (you can see the settings by looking at the GPO).

    Bill

  • Friday, May 11, 2012 5:56 PM
     
     
    Thanks JRV.
  • Friday, May 11, 2012 5:56 PM
     
     
    great, thanks everyone.  I will try all the above.