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
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How can I identify whether SNMP community strings are 'read only' or 'Read and Write' for all versions (v1,v2c,& v3) to use PowerShell?
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
You can install an snmp powershell module in your profile from powershell gallery.