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

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