bitsadmin getstate

Retrieves the state of the specified job.

Syntax

bitsadmin /GetState <Job>

Parameters

Parameter Description
Job The job's display name or GUID

Remarks

The possible states are:

State Description
QUEUED The job is waiting to run.
CONNECTING BITS is contacting the server.
TRANSFERRING BITS is transferring data.
TRANSFERRED BITS has successfully transferred all files in the job.
SUSPENDED The job is paused.
ERROR A non-recoverable error occurred; the transfer will not be retried.
TRANSIENT_ERROR A recoverable error occurred; the transfer retries when the minimum retry delay expires.
ACKNOWLEDGED The job was completed.
CANCELED The job was canceled.

Examples

The following example retrieves the state for the job named myDownloadJob.

C:\>bitsadmin /GetState myDownloadJob

Additional references

Command-Line Syntax Key