< Back

Set-AMSnmpCondition

Sat Jan 11, 2020 3:35 am

NAME Set-AMSnmpCondition



SYNOPSIS

Sets properties of an AutoMate Enterprise SNMP condition.





SYNTAX

Set-AMSnmpCondition [-InputObject] <Object> [[-IPStart] <String>] [[-IPEnd] <String>] [[-Community] <String>]

[[-Enterprise] <String>] [[-GenericType] {Any | ColdStart | WarmStart | LinkDown | LinkUp | AuthenticationFailure

| EGPNeighborLoss | EnterpriseSpecific}] [-OIDStringNotation] [-TimetickStringNotation]

[-AcceptUnathenticatedTrap] [-Wait] [[-Timeout] <Int32>] [[-TimeoutUnit] {Seconds | Minutes | Hours | Days |

Milliseconds}] [[-TriggerAfter] <Int32>] [[-Notes] <String>] [[-CompletionState] {InDevelopment | Testing |

Production | Archive}] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Set-AMSnmpCondition modifies an existing SNMP condition.





PARAMETERS

-InputObject <Object>

The condition to modify.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-IPStart <String>

The starting IP address to filter SNMP requests from. Use "Any" for any IP address (default).



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-IPEnd <String>

The ending IP address to filter SNMP requests from. Use "Any" for any IP address (default).



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Community <String>

Specifies whether the condition will start the task when a trap is received from a device from any community

(default) or only devices within a specific community.



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Enterprise <String>

Specifies whether the condition will start the task when a trap is received from any Enterprise OID device

(default) or only devices within a specific Enterprise OID.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-GenericType

Specifies that the condition will filter out traps that are not intended for a specific generic type and act

on traps received only from a specific generic type.



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-OIDStringNotation [<SwitchParameter>]

If specified, IODs will be entered as string notations.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-TimetickStringNotation [<SwitchParameter>]

If specified, timetick values will be entered as string notations.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-AcceptUnathenticatedTrap [<SwitchParameter>]

If specified, version 3 traps will be accepted.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Wait [<SwitchParameter>]

Wait for the condition, or evaluate immediately.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Timeout <Int32>

If wait is specified, the amount of time before the condition times out.



Required? false

Position? 7

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-TimeoutUnit

The unit for Timeout (Seconds by default).



Required? false

Position? 8

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TriggerAfter <Int32>

The number of times the condition should occur before the trigger fires.



Required? false

Position? 9

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Notes <String>

The new notes to set on the object.



Required? false

Position? 10

Default value

Accept pipeline input? false

Accept wildcard characters? false



-CompletionState

The completion state (staging level) to set on the object.



Required? false

Position? 11

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS

https://github.com/AutomatePS/AutomatePS