Previous Topic: list—List Target ComputersNext Topic: modify—Modify Target Computers


Example

To list all targets defined at a domain manager, enter the following command:

cadsmcmd targetComputer action=list

The provided list may look as follows:

-------------------------------------------------------------------------------
List of target computers
-------------------------------------------------------------------------------
PPAPPGP0C (computer; Win NT Intel 4.0.1381)
newComp (computer; Win XP Intel )
HHHHH01B (computer; Win NT Intel 4.0.1381)
KKKKK01A (computer; Win NT Intel 4.0.1381)
stage_01 (staging server; Win 2000 Intel 5.0.2195)
ORIONXH (computer; Win XP Intel 5.1.2600)
PPPPP98 (computer; Windows 98 4.10.2222)
WWWWW01B (computer; Win 2000 Intel 5.0.2195)
--------------------------------------------------------------------------
--------------------------------------------------------------------------
List of un-named and BMS un-managed computers
--------------------------------------------------------------------------
--------------------------------------------------------------------------Total number of target computers: 8
Number of un-named and BMS un-managed systems shown: 0
SDCMD<A000000>: OK

To list all targets defined at a domain manager whose staging server is "stage01-ss" and type "computer" using filters, enter the following command:

cadsmcmd targetcomputer action=list filter="(staging server name=stage01-ss && Computer type=computer)"

The information is listed as follows:

--------------------------------------------------------------------------
List of target computers
-------------------------------------------------------------------------
Test01(computer; WIN_SERVER_2003_INTEL)
--------------------------------------------------------------------------
List of un-named and BMS un-managed computers
--------------------------------------------------------------------------
--------------------------------------------------------------------------
Total number of target computers: 1
Number of un-named and BMS un-managed systems shown: 0
SDCMD<A000000>: OK