Veeam Home | Support | Downloads
Veeam Management Pack 8.0 for System Center VEShell Reference

Veeam Management Pack Help Center  > VEShell Reference >  VEShell Cmdlets > Invoke-RebuildTopology

Invoke-RebuildTopology

Previous page Next page Print this Topic

Table of contents

Forces topology rebuild for one or more Collectors.

Applies to versions: 6.0, 6.5, 7.0, 8.0

Syntax

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.

Parameters

-CollectorId <String[]>

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

adviceTip

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

Description

Aliases

 

Required?

True

Position?

1

Default Value

 

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

False

-VESServer

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 "172.15.19.6") and FQDN (such as "localhost.veeam.local").
Veeam.Psves.VesConnection object.

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

Description

Aliases

 

Required?

False

Position?

Named

Default Value

 

Accept Pipeline Input?

False

Accept Wildcard Characters?

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Notes

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

Input

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)

Output

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.  

Table of contents