bitsadmin rawreturn
The bitsadmin rawreturn command returns data suitable for parsing. Windows commands reference
On Windows
Windows
The bitsadmin rawreturn command returns data suitable for parsing. Typically, you use this command with the /create and /get* switches to receive only the value. You must specify this switch before other switches. NOTE: This command strips newline characters and formatting from the output.
bitsadmin /rawreturn
To retrieve the raw data for the state of the job named myDownloadJob
bitsadmin /rawreturn /getstate myDownloadJobIdentify