bitsadmin replaceremoteprefix

必要に応じて、ジョブ内のすべてのファイルのリモート URL を oldprefix から newprefix に変更します。

構文

bitsadmin /replaceremoteprefix <job> <oldprefix> <newprefix>

パラメーター

パラメーター 説明
ジョブ (job) ジョブの表示名または GUID。
oldprefix 既存の URL プレフィックス。
newprefix 新しい URL プレフィックス。

myDownloadJob という名前のジョブ内のすべてのファイルのリモート URL を http://stageserver から http://prodserver に変更するには、次のように入力します。

bitsadmin /replaceremoteprefix myDownloadJob http://stageserver http://prodserver

関連情報