Set HPOVSnmpReadCommunity - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Set-HPOVSnmpReadCommunity

Set SNMP Read Community.

SYNTAX

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

Detailed 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.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

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

-Name <String>

The name of the new SNMP Read-Only Community.

Aliases None
Required? true
Position? 0
Default value
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.

None

Examples

 -------------------------- EXAMPLE 1 --------------------------

Set-HPOVSnmpReadCommunity -name "MySNMPC0mmunity"

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

Related Links


Top

HPE OneView 4.00 Library

Set-HPOVSnmpReadCommunity

Set SNMP Read Community.

SYNTAX

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

Detailed 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.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

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

-Name <String>

The name of the new SNMP Read-Only Community.

Aliases None
Required? true
Position? 0
Default value
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.

None

Examples

 -------------------------- EXAMPLE 1 --------------------------

Set-HPOVSnmpReadCommunity -name "MySNMPC0mmunity"

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

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️