17.38 itdm2nodecount (counting the number of managed devices)
Functionality
Executing this command outputs the number of all managed devices under the primary management server. However, management relay servers and devices imported from the Microsoft Intune (which are not included in the count of licenses used) are excluded from the count of managed devices.
You must execute this command on the primary management server.
Format
itdm2nodecount
Arguments
None
Storage location
JP1/IT Desktop Management 2 installation-destination-folder\mgr\bin\
By using the command prompt provided by JP1/IT Desktop Management 2, you can execute this command without specifying the storage location for the executable file.
Notes
Execute this command when the primary management server setup is completed and the services are running.
Return values
The following table lists the return values of the itdm2nodecount command.
Return value |
Description |
---|---|
0 |
The command finished normally. |
4 |
Command execution was canceled. |
84 |
The format for specifying the command arguments is invalid. |
85 |
You do not have the permissions to execute this command. |
86 |
The count of the number of managed devices failed. |
127 |
Execution of the command failed. |
Example
The following example shows use of this command to count the number of managed devices.
itdm2nodecount
Related Topics: