bitsadmin getbytestotal
Retrieves the size of the specified job. Windows commands reference
On Windows
Windows
bitsadmin /getbytestotal <job>
To retrieve the size of the job named myDownloadJob
bitsadmin /getbytestotal myDownloadJobIdentifyjobThe job's display name or GUID.