C:\WINDOWS>IPCONFIG /?
USAGE:
ipconfig
[/? | /all | /renew
[adapter
] | /release
[adapter
] |
/flushdns | /displaydns | /registerdns |
/showclassid adapter |
/setclassid adapter
[classid
] ]where
adapter Connection name
(wildcard characters * and ? allowed, see examples)
Options:
/? Display this help message
/all Display full configuration information.
/release Release the IP address for the specified adapter.
/renew Renew the IP address for the specified adapter.
/flushdns Purges the DNS Resolver cache.
/registerdns Refreshes all DHCP leases and re-registers DNS names
/displaydns Display the contents of the DNS Resolver Cache.
/showclassid Displays all the dhcp class IDs allowed for adapter.
/setclassid Modifies the dhcp class id.
The default is to display only the IP address, subnet mask and
default gateway for each adapter bound to TCP/IP.
For Release and Renew, if no adapter name is specified, then the IP address
leases for all adapters bound to TCP/IP will be released or renewed.
For Setclassid, if no ClassId is specified, then the ClassId is removed.
Examples:
> ipconfig ... Show information.
> ipconfig /all ... Show detailed information
> ipconfig /renew ... renew all adapters
> ipconfig /renew EL* ... renew any connection that has its
name starting with EL
> ipconfig /release *Con* ... release all matching connections,
eg. "Local Area Connection 1" or
"Local Area Connection 2"
C:\WINDOWS>LODCTR /?
LODCTR
Updates Performance Monitor counter names and explain text for an extensible
counter
Usage:
LODCTR
[\\computername
] filename
computername is the name of the remote computer.
Local machine is used if computername is not specified.
filename is the name of the initialization file that contains
the counter name definitions and explain text for an extensible
counter DLL.
LODCTR /S:<FileName>
save current perf registry strings and info to <FileName>
LODCTR /R:<FileName>
restore perf registry strings and info using <FileName>
Note: any arguments with spaces in the names must be enclosed within
Double Quotation marks.
C:\WINDOWS>LOGMAN /?
Microsoft r Logman.exe (5.1.2600.2180)
c Microsoft Corporation. All rights reserved.
Logmanmanagesthe"PerformanceLogsandAlerts"serviceforcreatingandmanagingEventTrac
eSessionlogsandPerformancelogs.*
_
_
_
_
_
è
_
_
_
_
_
_
_
_
_*_
_
_
_
*
_
è
_
__
_
_
_
_
_
_ _
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
0
_
_
____
¢
Usage:
logman VERB <collection_name>
[options
]Verbs:
create <counter|trace> Create a new collection.
start Start an existing collection and set the
begin time to manual.
stop Stop an existing collection and set the end
time to manual.
delete Delete an existing collection.
query
[collection_name|providers
] Query collection properties. If no
collection_name is given all collections are
listed. The keyword 'providers' will list all
of the registered Event Trace providers.
update Update an existing collection properties.
Parameters:
<collection_name> Name of the collection.
Options:
-? Displays context sensitive help.
-s <computer> Perform the command on specified remote
system.
-config <filename> Settings file containing command options.
-b <M/d/yyyy h:mm:ss
[AM|PM
]> Begin the collection at specified time.
-e <M/d/yyyy h:mm:ss
[AM|PM
]> End the collection at specified time.
-m <
[start
] [stop
]> Change to manual start or stop rather than a
scheduled begin or end time.
-
[-
]r Repeat the collection daily at the specified
begin and end times.
-o <path|dsn!log> Path of the output log file or the DSN and
log set name in a SQL database.
-f <bin|bincirc|csv|tsv|sql> Specifies the log format for the collection.
-
[-
]a Append to an existing log file.
-
[-
]v
[nnnnnn|mmddhhmm
] Attach file versioning information to the end
of the log name.
-
[-
]rc <filename> Run the command specified each time the log
is closed.
-
[-
]max <value> Maximum log file size in MB or number of
records for SQL logs.
-
[-
]cnf
[[[hh:
]mm:
]ss
] Create a new file when the specified time has
elapsed or when the max size is exceeded.
-c <path
[path ...
]> Performance counters to collect.
-cf <filename> File listing performance counters to collect,
one per line.
-si <
[[hh:
]mm:
]ss> Sample interval for performance counter
collections.
-ln <logger_name> Logger name for Event Trace Sessions.
-
[-
]rt Run the Event Trace Session in real-time
mode.
-p <provider
[flags
[level
]]> A single Event Trace provider to enable.
-pf <filename> File listing multiple Event Trace providers
to enable.
-
[-
]ul Run the Event Trace Session in user mode.
-bs <value> Event Trace Session buffer size in kb.
-ft <
[[hh:
]mm:
]ss> Event Trace Session flush timer.
-nb <min max> Number of Event Trace Session buffers.
-fd Flushes all the active buffers of an existing
Event Trace Session to disk.
-
[-
]u
[user
[password
]] User to Run As. Entering a * for the password
produces a prompt for the password. The
password is not displayed when you type it at
the password prompt.
-rf <
[[hh:
]mm:
]ss> Run the collection for specified period of
time.
-y Answer yes to all questions without
prompting.
-ets Send commands to Event Trace Sessions
directly without saving or scheduling.
-mode <trace_mode
[trace_mode ...
]> Event Trace Session logger mode.
Note:
Where
[-
] is listed, an extra - negates the option.
For example --r turns off the -r option.
Examples:
logman create counter perf_log -c "\Processor(_Total)\% Processor Time"
logman create trace trace_log -nb 16 256 -bs 64 -o c:\logfile
logman start perf_log
logman update perf_log -si 10 -f csv -v mmddhhmm
logman update trace_log -p "Windows Kernel Trace" (disk,net)