--- title: "Out-TopologyTree" description: "This cmdlet retrieves the list of clusters and hosts for the specified VMware server and displays a formatted topology tree." canonical: "https://helpcenter.veeam.com/docs/mp/veshell/out-topologytree.html" breadcrumb: "Veeam MP VEShell Reference > VEShell Cmdlets > Out-TopologyTree" dateModified: "2026-09-10" --- # Out-TopologyTree Formats VMware server topology to a tree view form. **Applies to versions**: 8.0, 9.0, 9a ## Syntax ``` Out-TopologyTree [-Topology] [] ``` ## Detailed Description This cmdlet retrieves the list of clusters and hosts for the specified VMware server and displays a formatted topology tree. ## Parameters ### -Topology \ Specifies the VMware server topology for which you want to display the formatted topology tree.

Description

Aliases

Required?

True

Position?

1

Default Value

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

False

### \ This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see [Microsoft Docs](http://go.microsoft.com/fwlink/p/?LinkID=113216). ## Input The cmdlet accepts the [Veeam.Psves.Topology](topology.md) object as the input value. The object is stored in the `Topology` property of the [Veeam.Psves.VMwareServer](vmware_server.md) object. The cmdlet accepts the following types of values for the `-Topology` parameter: - [Veeam.Psves.Topology](topology.md) (you can pass a topology object) - [Veeam.Psves.VMwareServer](vmware_server.md) (you can pass a VMware server object) ## Output The cmdlet returns a **Veeam.Psves.Topology.FormattedTopology** object that stores the formatted topology tree. ## Example 1 This example describes how to display formatted topology for the “dev-vcenter” server. ``` Get-VMwareServer -Include dev-vcenter | Out-TopologyTree ``` ## Example 2 This example describes how to display formatted topology for the “prod-vcenter” server. The first command retrieves VMware server prod-vcenter and stores it in the $prod variable. The second command displays formatted topology tree for the "prod-vcenter". ``` $prod = Get-VMwareServer prod-vcenter Out-TopologyTree $prod.topology ``` You can also pass the [Veeam.Psves.VMwareServer](vmware_server.md) object referenced by the `$prod` variable through pipeline: ``` $prod | Out-TopologyTree ``` ## Example 3 This command shows topology of all connected VMware servers. ``` Get-VMwareServer | Out-TopologyTree ```