Skip to content

Set-OVSnmpReadCommunity

Syntax

Set-OVSnmpReadCommunity
    [-Name] <String>
    [-ApplianceConnection] <Object>
    [<CommonParameters>]

Description

Set a new SNMP Read Community value on the appliance. Updating this value will cause the appliance to refresh the managed devices with the updated Read-Only SNMP Community string. This does not update the SNMP trap destination(s) for Logical Interconnects or Logical Interconnect Groups.

Examples

Example 1

Set-OVSnmpReadCommunity -name "MySNMPC0mmunity"

Set the appliance SNMP Read Community string to the new value.

Parameters

-name <String>

The name of the new SNMP Read-Only Community.

Aliases None
Required? True
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-ApplianceConnection <Object>

Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).

Aliases Appliance
Required? True
Position? Named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this Cmdlet.

Return Values

None