wecutil.exe – Windows CMD Command
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Windows Event Collector Utility.
Create and manage subscriptions to events forwarded from remote event sources that support WS-Management protocol.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
Syntax wecutil command [Argument [Argument] ...] [/Option:VALUE [/Option:VALUE] ...] Key List all existent remote event subscriptions: es (enum-subscription) Get subscription configuration: gs (get-subscription) SUBSCRIPTION_ID [/Option:VALUE [/Option:VALUE] ...] /f:VALUE /format:VALUE VALUE can be XML or Terse name-value pairs(default). /u:VALUE /unicode:VALUE Display output in unicode (UTF-16). VALUE can be true or false. If VALUE is true then output is in Unicode. Get subscription runtime status: gr (get-subscriptionruntimestatus) SUBSCRIPTION_ID [EVENT_SOURCE [EVENT_SOURCE] ...] where EVENT_SOURCE identifies a machine serving as a source of events Set subscription configuration: ss (set-subscription) SUBSCRIPTION_ID [/Option:VALUE [/Option:VALUE] ...] ss (set-subscription) /c:CONFIG_FILE [/cus:Username [/cup:Password] ...] Create new subscription: cs (create-subscription) CONFIGURATION_FILE [/Option:VALUE [/Option:VALUE] ...] Delete subscription: ds (delete-subscription) SUBSCRIPTION_ID Retry subscription: rs (retry-subscription) SUBSCRIPTION_ID [EVENT_SOURCE [EVENT_SOURCE] ...] Configure Windows Event Collector service: qc (quick-config) /quiet:{true|false} /help | ? Help for the wecutil program. For a full list of subscriptions/options for specific commands: wecutil COMMAND -? |
You can use either the short or long (shown in parentheses) version of each command name.
Examples
Display configuration information for a subscription named sub1:
C:\> wecutil gs sub1
Display the runtime status of a subscription named sub1:
C:\> wecutil gr sub1
Create a subscription to forward events using an XML configuration file:
C:\> wecutil cs subscription.xml
Delete a subscription named sub1:
C:\> wecutil ds sub1