text stringlengths 0 4.23k |
|---|
-[-]ow |
Overwrites an existing log file. |
-[-]v <nnnnnn|mmddhhmm> |
Attaches file versioning information to the end of the log file name. |
-[-]rc <task> |
Runs the command specified each time the log is closed. |
-[-]max <value> |
Maximum log file size in MB or maximum number of records for SQL logs. |
-[-]cnf <[[hh:]mm:]ss> |
When time is specified, creates a new file when the specified time has elapsed. When time is not specified, creates a new file when the maximum size is exceeded. |
-y |
Answers yes to all questions without prompting. |
-[-]ni |
Enables (-ni) or disable (-ni) network interface query. |
-reg <path [path [...]]> |
Specifies registry value(s) to collect. |
-mgt <query [query [...]]> |
Specifies WMI object(s) to collect using SQL query language. |
-ftc <path [path [...]]> |
Specifies the full path to the file(s) to collect. |
/? |
Displays context-sensitive help. |
<computer name> |
<value> |
<name> |
<user [password]> |
<[start] [stop] [[start] [stop] [...]]> |
<[[hh:]mm:]ss> |
<M/d/yyyy h:mm:ss[AM|PM]> |
<M/d/yyyy h:mm:ss[AM|PM]> |
<[[hh:]mm:]ss> |
<path|dsn!log> |
<nnnnnn|mmddhhmm> |
<task> |
<value> |
<[[hh:]mm:]ss> |
<path [path [...]]> |
<query [query [...]]> |
<path [path [...]]> |
Remarks |
Examples |
To update a configuration data collector called cfg_log, to collect the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Currentverion\, type: |
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Currentverion\ |
logman update cfg cfg_log -reg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Currentverion\ |
logman update counter |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 |
Updates an existing counter data collector's properties. |
Syntax |
logman update counter <[-n] <name>> [options] |
Parameters |
Parameter |
Description |
-s <computer name> |
Perform the command on the specified remote computer. |
-config <value> |
Specifies the settings file containing command options. |
[-n] <name> |
Name of the target object. |
-f <bin|bincirc> |
Specifies the log format for the data collector. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.