Veeam Management Pack 9.0 for Microsoft System Center
Veeam MP VEShell Reference
Related documents


Forces topology rebuild for one or more Collectors.

Applies to versions: 8.0, 9.0


Invoke-RebuildTopology [-CollectorId] <String[]> [-VESServer <Object>] [<CommonParameters>]

Detailed Description

This cmdlet forces topology rebuild for one or more Collectors.

This will cause the Collector(s) to re-discover their section of the VMware topology in Operations Manager. Only the topology for vSphere clusters, hosts and VMs currently allocated to this Collector will be rebuilt.

Topology rebuild should only be forced if the vCenter Server topology is not being correctly reflected in Operations Manager (for example, there are missing objects such as VMs, vSphere hosts or host components). Note that the rebuild will be cascaded and will take several collection intervals to complete.


-CollectorId <String[]>

Specifies Id(s) of Collector(s) for which topology should be rebuilt.


To get the list of registered Collectors, their Ids and names, use the Get-Collector cmdlet.









Default Value


Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?



Specifies the Virtualization Extensions server. You can pass the following types of values:

  • Name of a machine (remote or local) where the Virtualization Extensions Service runs.

Acceptable formats for the input value are: server name (such as "localhost" or "."), IP address (such as "") and FQDN (such as "localhost.veeam.local").

For more information, type “get-help about_VESServerParameter”.








Default Value


Accept Pipeline Input?


Accept Wildcard Characters?



This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see Microsoft Docs.


If the -VESServer parameter is not specified, the cmdlet will connect to the Virtualization Extensions Service on the local machine.


The cmdlet accepts the following types of values for the -CollectorId parameter:

  • System.String (you can pass Collector Ids, the Id value is used exactly as it is typed)
  • Veeam.Psves.Collector (you can pass Collector objects)


The cmdlet returns a collection of Veeam.Psves.RebuildTopologyTask objects. The Status property of the object indicates the status of the rebuild topology task.

Possible values for the Status property are:

  • Success — the rebuild topology task completed successfully. Topology for the Collector(s) will be rebuilt soon.
  • Failed — an error occurred. For error details, see the Description property of the object.
  • InProgress — the rebuild topology task for the Collector(s) is already in progress.

Example 1

This command forces topology rebuild for all registered Collectors.

Get-Collector | Invoke-RebuildTopology

Example 2

This command forces topology rebuild for the “col1.veeam.local” Collector.

Get-Collector col1.veeam.local -SelectByName | Invoke-RebuildTopology

Status     Collector             Description                                                

------     ---------             -----------                                                

Success    col1.veeam.local      Rebuild topology was successfully scheduled.    

This Document Help Center
Veeam MP for VMware User GuidesVeeam MP for VMware ReferenceVeeam MP for VMware Online Knowledge BaseVeeam MP for Microsoft Hyper-V User GuideVeeam MP for Hyper-V ReferenceMP for Veeam Backup & Replication User GuideMP for Veeam Backup & Replication ReferenceVeeam Capacity Planning for Hybrid Clouds User GuideVeeam MP Report KnowledgeVeeam MP VEShell ReferenceVeeam MP Resource Kit GuideVeeam Backup & Replication DocumentationVeeam Agent for Windows DocumentationVeeam Agent for Linux Documentation
I want to report a typo

There is a misspelling right here:


I want to let the Veeam Documentation Team know about that.