Bitsadmin /rawreturn


Applies To: Windows Vista, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8

Returns data suitable for parsing.


bitsadmin /RawReturn


Strips new line characters and formatting from the output.

Typically, you use this command in conjunction with the Create and Get* commands to receive only the value. You must specify this command before other commands.


The following example retrieves the raw data for the state of the job named myDownloadJob.

C:\>bitsadmin /RawReturn /GetState myDownloadJob

Additional references

Command-Line Syntax Key