Enterprise Administration > File Vaulting and Replication > FvLoader and ReplicaLoader > Listing Domains > The -listDomains Argument Presents Data
  
The -listDomains Argument Presents Data
Use the argument -listDomains to accept the output of -listContainers to list domains and format the list. Two formatting options allow you to specify the list. The argument has the following syntax:
-listDomains <containerPath> includeDescendentContainers
This invocation of FvLoader prints a list of domain paths to the console. The output may be redirected to a file using piping. The two arguments, explained below, are optional. If none are specified, the command prints all domains in the system.
containerPath—If specified, only the domains which reside in a specified container print to the console. If the argument contains spaces, place double quotation marks around it. You type the path to complete the specification.
includeDescendentContainers—If the argument is specified, the domains residing in the descendent containers of the containerPath are printed as well.
For example, the command would take the following form if you want to include domains residing in the descendent containers and use the container path /wt.inf.container.OrgContainer=PTC:
java wt.fv.FvLoader - listDomains
/wt.inf.container.OrgContainer=PTC includeDescendentContainers
Examples with output:
C:\> java wt.fv.FvLoader - listDomains /wt.inf.container.OrgContainer=PTC
[/wt.inf.container.OrgContainer=PTC]/PTC
[/wt.inf.container.OrgContainer=PTC]/Default/Project
[/wt.inf.container.OrgContainer=PTC]/Default/Project/
Administration
C:\>
C:\> java wt.fv.FvLoader - listDomains "/wt.inf.container.OrgContainer=PTC/
wt.inf.library.WTLibrary=Windchill PDM"
[/wt.inf.container.OrgContainer=PTC/wt.inf.library.WTLibrary=Windchill PDM]/
ChangeItems
C:\>
C:\> java wt.fv.FvLoader - listDomains /wt.inf.container.OrgContainer=PTC
includeDescendentContainers
[/wt.inf.container.OrgContainer=PTC]/PTC
[/wt.inf.container.OrgContainer=PTC]/Default/Project
[/wt.inf.container.OrgContainer=PTC]/Default/Project/
Administration
[/wt.inf.container.OrgContainer=PTC/wt.inf.library.WTLibrary=Windchill PDM]/
ChangeItems
C:\>