bitsadmin replaceremoteprefix
Changes the remote URL for all files in the job from oldprefix to newprefix, as necessary. Windows commands reference
On Windows
Windows
bitsadmin /replaceremoteprefix <job> <oldprefix> <newprefix>
To change the remote URL for all files in job named myDownloadJob, from http://stageserver to http://prodserver.
bitsadmin /replaceremoteprefix myDownloadJob http://stageserver http://prodserverIdentifyjobThe job's display name or GUID.oldprefixExisting URL prefix.newprefixNew URL prefix.