How to identify SNMP community string whether Read only or Read and Write for window

Nielsen, Doo Hee 20 Reputation points
2020-08-04T02:26:55.13+00:00

How can I identify whether SNMP community strings are 'read only' or 'Read and Write' for all versions (v1,v2c,& v3) to use PowerShell?

  • I am only allowed to use PowerShell and SNMPWalk, for finding SNMP type on Windows servers (VM, Blade, DL,) and HP ilo, and enclosure and more.
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,455 questions
0 comments No comments
{count} votes

Accepted answer
  1. Rich Matheisen 45,831 Reputation points
    2020-08-04T15:15:22.033+00:00

    Check this registry key. Each subkey represents a community name and the subkeys should have a value of 4 or 8.

    "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SNMP\Parameters\ValidCommunities" # 4 = ReadOnly 8 = ReadWrite

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. js2010 191 Reputation points
    2020-08-04T19:01:39.473+00:00

    You can install an snmp powershell module in your profile from powershell gallery.