Order bitsadmin getnotifycmdline, getnotifyflags, getnotifyinterface

Today's article will introduce 3 commands: bitsadmin getnotifycmdline, bitsadmin getnotifyflags and bitsadmin getnotifyinterface in Windows.

Today's article will introduce 3 commands: bitsadmin getnotifycmdline, bitsadmin getnotifyflags and bitsadmin getnotifyinterface in Windows.

Bitsadmin getnotifycmdline, getnotifyflags, getnotifyinterface in Windows

  1. Bitsadmin getnotifycmdline command
    1. Syntax
    2. Parameters
    3. For example
  2. The bitsadmin getnotifyflags command
    1. Syntax
    2. Parameters
    3. Note
    4. For example
  3. The bitsadmin getnotifyinterface command
    1. Syntax
    2. Parameters
    3. Note
    4. For example

Bitsadmin getnotifycmdline command

The bitsadmin getnotifycmdline command to retrieve the command line is run when the data transfer ends.

Syntax

 bitsadmin / GetNotifyCmdLine 

Parameters

ParameterExampleJob Display name of the task or GUID

For example

The following command-line access example is used by the service when the task named myDownloadJob is completed.

 C:> bitsadmin / GetNotifyCmdLine myDownloadJob 

The bitsadmin getnotifyflags command

The bitsadmin getnotifyflags command retrieves the flags notified to the specified task.

Syntax

 bitsadmin / GetNotifyFlags 

Parameters

ParameterExampleJob Display name of the task or GUID

Note

The task may contain one or more flag announcements.

0x001 Create an event when all files in the task have been moved. 0x002 Create an event when an error occurs. 0x004 Disable notifications. 0x008 Create an event when the task is modified or the file transfer process is performed.

For example

The following example retrieves the flags that notify the job named myDownloadJob.

 C:> bitsadmin / GetNotifyFlags myDownloadJob 

The bitsadmin getnotifyinterface command

The bitadmin getnotifyinterface command determines whether another program has registered the COM callback interface for the specified task.

Syntax

 bitsadmin / GetNotifyInterface 

Parameters

ParameterExampleJob Display name of the task or GUID

Note

The command will display REGISTERED or UNREGISTERED.

Note: The program registered for the callback interface cannot be specified.

For example

The following example retrieves the interface informing the task named myDownloadJob.

 C:> bitsadmin / GetNotifyInterface myDownloadJob 

See more:

  1. Bitsadmin addfile command in Windows
  2. Bitsadmin getmodificationtime and bitsadmin getnoprogresstimeout command
  3. Bitsadmin getfilestransferred and bitsadmin commands getminretrydelay
4 ★ | 2 Vote