ObjectValue Parameter (Send-Trap Cmdlet)

The Object value collection to add to the trap.

Syntax

Send-Trap -ObjectValue string[]

Remarks

Use the ObjectID, ObjectType, and ObjectValue collections to build a custom trap. Note that specifying these values gives you complete control over the contents of the trap, so you are responsible for adding the sysUpTime and the snmpTrapOID objects as well. To automatically send a standard trap, containing only the sysUpTime and the snmpTrapOID, use the TrapOID parameter instead.

ObjectValue is used to create an outgoing SNMP packet. The corresponding object ID and type are specified by the ObjectID and ObjectType collections.

Default Value

null

Parameter Position

2

Parameter Alias

Objvalue

This is a required parameter.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
NetCmdlets 2020 - Version 20.0 [Build 7877]