Is there a command to list all the client machines parented to a gateway server?

Document ID : KB000016430
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

Is there a command to list all the client machines parented to a gateway server?

Environment:
CA Data Protection (All versions).
Answer:

The command you need is as follows: 

wgninfra -exec wigan/infrastruct/directory/DirectoryExport Machines <Parameters> 

 

This command is case sensitive and has the following parameters: 

 

<filename> File to export to

-b <group path> Base the export from this gateway

-s Output spreadsheet format file rather than import format

-g Include gateways

-u Include client machines

-n Output Unicode 

 

For example:

wgninfra -exec wigan/infrastruct/directory/DirectoryExport Machines c:\machines.txt -b DP152GW 

 

Note: 

The syntax needs to be executed from the %wgninstalldir%\system folder on the CMS machine.

This will provide an output called "machines.txt" on the route of c:\ drive