Trap Output Object (Send-Trap Cmdlet)

This object is returned for each trap received by the component.

Syntax

Object Trap {
   string Host;
   string[] OID;
   string[] OIDValue;
   string[] OIDType;
   int Version;
   string User;
   bool IsAuthenticated;
}

Remarks

The OID, OIDValue and OIDType fields are arrays because SNMP v2 and v3 traps may contain multiple objects.

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

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