text stringlengths 0 4.23k |
|---|
Examples |
To resume the job named myDownloadJob: |
bitsadmin /resume myDownloadJob |
bitsadmin setaclflag |
Sets the access control list (ACL) propagations flags for the job. The flags indicate that you want to maintain the owner and ACL information with the file being downloaded. For example, to maintain the owner and group with the file, set the flags parameter to og. |
og |
Syntax |
bitsadmin /setaclflag <job> <flags> |
Parameters |
Parameter |
Description |
job |
The job's display name or GUID. |
flags |
Specify one or more of the values, including:o - Copy owner information with file.g - Copy group information with file.d - Copy discretionary access control list (DACL) information with file.s - Copy system access control list (SACL) information with file. |
Examples |
To set the access control list propagation flags for the job named myDownloadJob, so it maintains the owner and group information with the downloaded files. |
bitsadmin /setaclflags myDownloadJob og |
bitsadmin setclientcertificatebyid |
Specifies the identifier of the client certificate to use for client authentication in an HTTPS (SSL) request. |
Syntax |
bitsadmin /setclientcertificatebyid <job> <store_location> <store_name> <hexadecimal_cert_id> |
Parameters |
Parameter |
Description |
job |
The job's display name or GUID. |
store_location |
Identifies the location of a system store to use for looking up the certificate, including:CURRENT_USERLOCAL_MACHINECURRENT_SERVICESERVICESUSERSCURRENT_USER_GROUP_POLICYLOCAL_MACHINE_GROUP_POLICYLOCAL_MACHINE_ENTERPRISE. |
store_name |
The name of the certificate store, including:CA (Certification Authority certificates)MY (Personal certificates)ROOT (Root certificates)SPC (Software Publisher Certificate). |
hexadecimal_cert_id |
A hexadecimal number representing the hash of the certificate. |
Examples |
To specify the identifier of the client certificate to use for client authentication in an HTTPS (SSL) request for the job named myDownloadJob: |
bitsadmin /setclientcertificatebyid myDownloadJob BG_CERT_STORE_LOCATION_CURRENT_USER MY A106B52356D3FBCD1853A41B619358BD |
bitsadmin setclientcertificatebyname |
Specifies the subject name of the client certificate to use for client authentication in an HTTPS (SSL) request. |
Syntax |
bitsadmin /setclientcertificatebyname <job> <store_location> <store_name> <subject_name> |
Parameters |
Parameter |
Description |
job |
The job's display name or GUID. |
store_location |
Identifies the location of a system store to use for looking up the certificate. Possible values include:1 (CURRENT_USER)2 (LOCAL_MACHINE)3 (CURRENT_SERVICE)4 (SERVICES)5 (USERS)6 (CURRENT_USER_GROUP_POLICY)7 (LOCAL_MACHINE_GROUP_POLICY)8 (LOCAL_MACHINE_ENTERPRISE) |
store_name |
The name of the certificate store. Possible values include:CA (Certification Authority certificates)MY (Personal certificates)ROOT (Root certificates)SPC (Software Publisher Certificate) |
subject_name |
Name of the certificate. |
Examples |
To specify the name of the client certificate myCertificate to use for client authentication in an HTTPS (SSL) request for the job named myDownloadJob: |
bitsadmin /setclientcertificatebyname myDownloadJob 1 MY myCertificate |
bitsadmin setcredentials |
Adds credentials to a job. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.