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 PMModerator
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
- Proposed As Answer by Richard MuellerMVP, Moderator Saturday, May 12, 2012 11:12 PM
- Marked As Answer by IamMredMicrosoft Employee, Owner Monday, May 14, 2012 8:24 PM
-
Friday, May 11, 2012 5:56 PMThanks JRV.
-
Friday, May 11, 2012 5:56 PMgreat, thanks everyone. I will try all the above.

