Displays remote subscription configuration information.
Usage:
wecutil { gs | get-subscription } SUBSCRIPTION_ID [/OPTION:VALUE [/OPTION:VALUE] ...]
SUBSCRIPTION_ID
String that uniquely identifies a subscription, specified by the tag
of the XML configuration file used to create the subscription
Options:
You can use either the short (i.e. /f) or long (i.e. /format) version of the option
names. Options and their values are case-insensitive.
/f:VALUE (format)
VALUE can be XML or Terse. If VALUE is XML, print output in XML. If VALUE is Terse
(default), print value as name-value pairs.
/u:VALUE (unicode)
Display output in unicode (UTF-16). VALUE can be true or false. If VALUE is true then output is
in Unicode.
Example:
Output configuration information on a subscription named sub1.
wecutil gs sub1
Example output:
Subscription Id: sub1
SubscriptionType: CollectorInitiated
Description: Push Collector Initiated Subscription
Enabled: true
Uri: http://schemas.microsoft.com/wbem/wsman/1/windows/EventLog
ConfigurationMode: Custom
DeliveryMode: Push
DeliveryMaxItems: 1
DeliveryMaxLatencyTime: 1000
HostName: thisMachine.myDomain.com
HeartbeatInterval: 60000
Expires: 2010-01-01T00:00:00.000Z
Query:
ReadExistingEvents: true
TransportName: http
ContentFormat: RenderedText
Locale: en-US
LogFile: ForwardedEvents
CredentialsType: Default
CommonUserName: Administrator
CommonUserPassword: *
EventSource[0]:
Address: mySource.myDomain.com
Enabled: true
UserName: myUserName
UserPassword: *
EventSource[1]:
Address: mySource1.myDomain.com
Enabled: true
UserName: myUserName
UserPassword: *
Displays event log configuration information, including whether the log is
enabled, the current maximum size limit of the log and the path to the file
where the log is stored.
Usage:
wevtutil { gl | get-log } [/OPTION:VALUE [/OPTION:VALUE] ...]
String that uniquely identifies a log. You can display a list of all the log
names by running wevtutil el.
Options:
You can use either the short (for example, /f) or long (for example, /format)
version of the option names. Options and their values are not case-sensitive.
/{f | format}:[XML|Text]
Specify the log file format. The default is Text. If XML is specified, output is
stored in XML format. If Text is specified, output is stored without XML tags.
Example:
The following example displays configuration information about the local System
log in XML format.
wevtutil gl System /f:xml
A corrected hardware error has occurred.
Component: PCI/PCI-X Bus
Error Source: %1
Error Type: %5
The details view of this entry contains further information.