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 from 0
True False

Examples

The following example sets the content validation state of file 2 to TRUE for the job named myJob.

C:\>bitsadmin /SetValidationState myJob 2 TRUE 

Additional references

Command-Line Syntax Key