Bitsadmin /setproxysettings
Applies To: Windows Vista, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8
Sets the proxy settings for the specified job.
Syntax
bitsadmin /SetProxySettings <Job> <Usage> [List] [Bypass]
Parameters
Parameter |
Description |
---|---|
Job |
The job's display name or GUID |
Usage |
One of the following values:
|
List |
Used when the Usage parameter is set to OVERRIDE—contains a semicolon or space delimited list of proxy servers to use. |
Bypass |
Used when the Usage parameter is set to OVERRIDE—contains a semicolon or space-delimited list of host names or IP addresses, or both, for which transfers are not to be routed through a proxy. This can be <local> to refer to all servers on the same LAN. Values of NULL or "" may be used for an empty proxy bypass list. |
Examples
The following example sets the proxy settings for the job named myDownloadJob.
C:\>bitsadmin /SetProxySettings myDownloadJob PRECONFIG