This cmdlet adds an event exclusion filter to exclude an event or active alert from a target device.
The Get-LXCAEvent cmdlet does not return excluded events. Use the Get-LXCAEventExclusionFilter cmdlet to get the exclusion filter. Use the Add-LXCAEventExclusionFilter and Remove-LXCAEventExclusionFilter cmdlets to add and remove the exclusion filter.
Add-LXCAEventExclusionFilter [-Connection LXCAConnection]
-Name String
-Description String
-SourceID String
-Type String
[CommonParameter]
This cmdlet returns an EventExclusionFilter object.
The following example excludes all events from a device.
$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred
Add-LXCAEventExclusionFilter -SourceID $node -Name "ExclusionFilterOnNode" -Type event`
-Description "Suppress events from node"
Disconnect-LXCA