Sets the content validation state of the given file within the job.
Syntax
bitsadmin /setvalidationstate <job> <file_index> <TRUE|FALSE>
Parameters
| Parameter | Description |
|---|---|
| Job | The job's display name or GUID. |
| file_index | Starts at 0. |
| TRUE or FALSE | TRUE turns on content validation for the specified file, while FALSE turns it off. |
Examples
To set the content validation state of file 2 to TRUE for the job named myDownloadJob:
bitsadmin /setvalidationstate myDownloadJob 2 TRUE
Related links
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
