Bitsadmin /setvalidationstate

Applies To: Windows Server 2008, Windows Server 2008 R2

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

Set to TRUE if the file content is valid, otherwise set to 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