Bitsadmin /setvalidationstate
Updated: April 17, 2012
Applies To: Windows Server 2008, Windows Server 2008 R2
Sets the content validation state of the given file within the job.
bitsadmin /SetValidationState <Job> <file index> <true|false>
| Parameter | Description |
|---|---|
|
Job |
The job's display name or GUID |
|
File index |
Starts from 0 |
|
True|False |
Set to TRUE if the file content is valid, otherwise set to FALSE |
The following example sets the content validation state of file 2 to TRUE for the job named myJob.
C:\>bitsadmin /SetValidationState myJob 2 TRUE
