bitsadmin setvalidationstate
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for