bitsadmin getstate
The bitsadmin /getstate command retrieves the state of a specified job. Windows commands reference
On Windows
Windows
bitsadmin /getstate <job>
To retrieve the state for the job named myDownloadJob
bitsadmin /getstate myDownloadJobIdentifyjobThe job's display name or GUID.QueuedThe job is waiting to run.ConnectingBITS is contacting the server.TransferringBITS is transferring data.TransferredBITS has successfully transferred all files in the job.SuspendedThe job is paused.ErrorA nonrecoverable error occurred; the transfer isn't retried.Transient_ErrorA recoverable error occurred; the transfer retries when the minimum retry delay expires.AcknowledgedThe job completed.CanceledThe job was canceled.