Sets the configuration flags that determine if the computer can serve content to peers and can download content from peers.

Syntax

bitsadmin /PeerCaching /SetConfigurationFlags <Job> <Value>

Parameters

Parameter Description

Job

The job's display name or GUID

Value

The value is an unsigned integer with the following interpretation for the bits in the binary representation:

  • Allow the job's data to be downloaded from a peer: Set the least significant bit

  • Allow the job's data to be served to peers: Set the 2nd bit from the right.

Examples

The following example specifies the job's data to be downloaded from peers for the job named myJob.

C:\> Bitsadmin /PeerCaching /SetConfigurationFlags myJob 1

Additional references