bitsadmin getcustomheaders
Retrieves the custom HTTP headers from the job. Windows commands reference
On Windows
Windows
bitsadmin /getcustomheaders <job>
To get the custom headers for the job named myDownloadJob
bitsadmin /getcustomheaders myDownloadJobIdentifyjobThe job's display name or GUID.