text stringlengths 0 4.23k |
|---|
-y |
Answer yes to all questions without prompting. |
/? |
Displays help at the command prompt. |
<CSV | TSV | BIN | SQL> |
<filename> |
<[[hh:]mm:]ss> |
<filename> |
[object] |
[object] |
<samples> |
<filename> |
<computer_name> |
Examples |
To write the values for the local computer's performance counter \Processor(_Total)\% Processor Time to the command window at a default sample interval of 1 second until CTRL+C is pressed, type: |
\Processor(_Total)\% Processor Time |
typeperf \Processor(_Total)\% Processor Time |
To write the values for the list of counters in the file counters.txt to the tab-delimited file domain2.tsv at a sample interval of 5 seconds until 50 samples have been collected, type: |
typeperf -cf counters.txt -si 5 -sc 50 -f TSV -o domain2.tsv |
To query installed counters with instances for the counter object PhysicalDisk and writes the resulting list to the file counters.txt, type: |
typeperf -qx PhysicalDisk -o counters.txt |
tzutil |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 |
Displays the Windows Time Zone utility. |
Syntax |
tzutil [/?] [/g] [/s <timezoneID>[_dstoff]] [/l] |
Parameters |
Parameter |
Description |
/g |
Displays the current time zone ID. |
/s <timezoneID>[_dstoff] |
Sets the current time zone using the specified time zone ID. The _dstoff suffix disables Daylight Saving time adjustments for the time zone (where applicable). Your value must be surrounded by quotes. |
/l |
Lists all valid time zone IDs and display names. The output appears as:<display name><time zone ID> |
/? |
Displays help at the command prompt. |
<timezoneID>[_dstoff] |
<display name> |
<time zone ID> |
Remarks |
An exit code of 0 indicates the command completed successfully. |
Examples |
To display the current time zone ID, type: |
tzutil /g |
To set the current time zone to Pacific Standard time, type: |
tzutil /s "Pacific Standard time" |
To set the current time zone to Pacific Standard time and disable Daylight Saving time adjustments, type: |
tzutil /s "Pacific Standard time_dstoff" |
unexpose |
Unexposes a shadow copy that was exposed by using the expose command. The exposed shadow copy can be specified by its Shadow ID, drive letter, share, or mount point. |
Syntax |
unexpose {<shadowID> | <drive:> | <share> | <mountpoint>} |
Parameters |
Parameter |
Description |
<shadowID> |
Displays the shadow copy specified by the given Shadow ID. You can use an existing alias or an environment variable in place of <shadowID>. Use the add command without parameters to see all existing aliases. |
<drive:> |
Displays the shadow copy associated with the specified drive letter (for example, drive P). |
<share> |
Displays the shadow copy associated with the specified share (for example, \\MachineName). |
<mountpoint> |
Displays the shadow copy associated with the specified mount point (for example, C:\shadowcopy\). |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.