bitsadmin getnotifycmdlinebitsadmin getnotifycmdline

检索在指定的作业完成数据传输之后要运行的命令行命令。Retrieves the command-line command to run after the specified job finishes transferring data.

备注

BITS 1.2 和更早版本不支持此命令。This command isn't supported by BITS 1.2 and earlier.

语法Syntax

bitsadmin /getnotifycmdline <job>

参数Parameters

参数Parameter 说明Description
作业 (job)job 作业的显示名称或 GUID。The job's display name or GUID.

示例Examples

在名为 myDownloadJob 的作业完成时检索服务使用的命令行命令。To retrieve the command-line command used by the service when the job named myDownloadJob completes.

bitsadmin /getnotifycmdline myDownloadJob

其他参考Additional References