text
stringlengths
0
4.23k
-outfile
Specifies the output filename.
<parsedfile>
Specifies the filename of the parsed file.
-filter
Allows the output to be filtered.
<appname>
Specifies the name of the application.
stoptrace
Stops the trace, if it wasn't stopped before.
-?
Displays help at the command prompt.
<filename>
<filename
<parsedfile>
<appname>
Examples
To enable tracing and to save the trace file to sxstrace.etl, type:
sxstrace trace -logfile:sxstrace.etl
To translate the raw trace file into a human readable format and to save the result to sxstrace.txt, type:
sxstrace parse -logfile:sxstrace.etl -outfile:sxstrace.txt
sysocmgr
The sysocmger command has been deprecated and isn't guaranteed to be supported in future releases of Windows.
systeminfo
Displays detailed configuration information about a computer and its operating system, including operating system configuration, security information, product ID, and hardware properties (such as RAM, disk space, and network cards).
Syntax
systeminfo [/s <computer> [/u <domain>\<username> [/p <password>]]] [/fo {TABLE | LIST | CSV}] [/nh]
Parameters
Parameter
Description
/s <computer>
Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer.
/u <domain>\<username>
Runs the command with the account permissions of the specified user account. If /u is not specified, this command uses the permissions of the user who is currently logged on to the computer that is issuing the command.
/p <password>
Specifies the password of the user account that is specified in the /u parameter.
/fo <format>
Specifies the output format with one of the following values:TABLE - Displays output in a table.LIST - Displays output in a list.CSV - Displays output in comma-separated values (.csv) format.
/nh
Suppresses column headers in the output. Valid when the /fo parameter is set to TABLE or CSV.
/?
Displays help at the command prompt.
<computer>
<domain>\<username>
<password>
<format>
Examples
To view configuration information for a computer named Srvmain, type:
systeminfo /s srvmain
To remotely view configuration information for a computer named Srvmain2 that is located on the Maindom domain, type:
systeminfo /s srvmain2 /u maindom\hiropln
To remotely view configuration information (in list format) for a computer named Srvmain2 that is located on the Maindom domain, type:
systeminfo /s srvmain2 /u maindom\hiropln /p p@ssW23 /fo list
takeown
Enables an administrator to recover access to a file that previously was denied, by making the administrator the owner of the file. This command is typically used on batch files.
Syntax
takeown [/s <computer> [/u [<domain>\]<username> [/p [<password>]]]] /f <filename> [/a] [/r [/d {Y|N}]]
Parameters
Parameter
Description