$allSubsystems = Get-CAEventExportSubsystems -Connection $connection
New-CASyslogEventSubscription -Connection $connection -Host $Host -Subsystems $allSubsystems
Use this command to see the details of the current Syslog subscriptions.
Get-CASyslogEventSubscriptions -Connection $connection
The command returns the following information.
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
Use this command to remove a subscription.
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. |
Remove-CASyslogEventSubscription -Connection $connection -SubscriptionId $subscriptionId
© ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center