text
stringlengths
0
4.23k
Syntax
bitsadmin /listfiles <job>
Parameters
Parameter
Description
job
The job's display name or GUID.
Examples
To retrieve the list of files for the job named myDownloadJob:
bitsadmin /listfiles myDownloadJob
bitsadmin makecustomheaderswriteonly
Make a job's Custom HTTP Headers write-only.
Important
This action can't be undone.
Syntax
bitsadmin /makecustomheaderswriteonly <job>
Parameters
Parameter
Description
job
The job's display name or GUID.
Examples
To make Custom HTTP Headers write-only for the job named myDownloadJob:
bitsadmin /makecustomheaderswriteonly myDownloadJob
bitsadmin monitor
Monitors jobs in the transfer queue that are owned by the current user.
Syntax
bitsadmin /monitor [/allusers] [/refresh <seconds>]
Parameters
Parameter
Description
/allusers
Optional. Monitors jobs for all users. You must have administrator privileges to use this parameter.
/refresh
Optional. Refreshes the data at an interval specified by <seconds>. The default refresh interval is five seconds. To stop the refresh, press CTRL+C.
<seconds>
Examples
To monitor the transfer queue for jobs owned by the current user and refreshes the information every 60 seconds.
bitsadmin /monitor /refresh 60
bitsadmin nowrap
Truncates any line of output text extending beyond the right-most edge of the command window. By default, all switches, except the monitor switch, wrap the output. Specify the nowrap switch before other switches.
Syntax
bitsadmin /nowrap
Examples
To retrieve the state for the job named myDownloadJob while not wrapping the output:
bitsadmin /nowrap /getstate myDownloadJob
bitsadmin peercaching and getconfigurationflags
Gets the configuration flags that determine if the computer serves content to peers and if it can download content from peers.
Syntax
bitsadmin /peercaching /getconfigurationflags <job>
Parameters
Parameter
Description
job
The job's display name or GUID.