Applies to: Windows Server (All supported versions)
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.
Syntax
bitsadmin /rawreturn
Examples
To retrieve the raw data for the state of the job named myDownloadJob:
bitsadmin /rawreturn /getstate myDownloadJob
Related links
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
