OID Parameter (Send-Trap Cmdlet)
The OID to use for the request.
Syntax
Send-Trap -OID string
Remarks
Use this parameter to automatically send a standard trap, containing the sysUpTime and the snmpTrapOID. The OID can be a label or an actual OID, such as "coldstart" or 1.3.6.1.6.3.1.1.5.1.
To specify custom objects in the trap, use the ObjectID, ObjectType, and ObjectValue collections instead.
Default Value
""
Parameter Position
1
Parameter Alias
TrapOID