New-CASyslogEventSubscription
$allSubsystems = Get-CAEventExportSubsystems -Connection $connection
New-CASyslogEventSubscription -Connection $connection -Host $Host -Subsystems $allSubsystems
Get-CASyslogEventSubscriptions
Use this command to see the details of the current Syslog subscriptions.
Table 19. Available parameters
Example: List defined Syslog subscriptions Get-CASyslogEventSubscriptions -Connection $connection
The command returns the following information.
Set-CASyslogEventSubscription
Use this command to modify a Syslog subscription.
Example: Disable a subscription
Example: Edit the subsystems included in a subscription
Set-CASyslogEventSubscription -Connection $connection -SubscriptionId cd87b774-8e65-46e1-8520-da478c60c4c3 -Subsystems $newSubsystems
Remove-CASyslogEventSubscription
Use this command to remove a subscription.
Table 21. Available parameters
The ID of the subscription to remove. This parameter is required if the Subscription parameter is not specified. Use the Get-CASyslogEventSubscriptions command to find the ID.
Example: Remove a subscription Remove-CASyslogEventSubscription -Connection $connection -SubscriptionId $subscriptionId