Get-VBRADForestDomainController

Short Description

Returns domain controllers for an Active Directory domain.

Platform: VMware, Hyper-V

Product Edition: Veeam Universal License

Syntax

Get-VBRADForestDomainController -ADForestDomain <VBRADForestDomain> [<CommonParameters>]

Detailed Description

This cmdlet returns domain controllers that belong to the specified Active Directory domain.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ADForestDomain

Specifies the Active Directory domain for which to return domain controllers.

Accepts the VBRADForestDomain object. To get this object, run the Get-VBRADForestDomainReturns Active Directory domains within a forest or a restore point. cmdlet.

VBRADForestDomain

True

Named

True (ByValue)

<CommonParameters>

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

Output Object

The cmdlet returns the VBRADForestDomainController[] object that contains information about the domain controllers within an Active Directory domain.

Examples

Getting Domain Controllers for Active Directory Domain

This example shows how to get all domain controllers for an Active Directory domain.

$forest = Get-VBRADForest

$domain = Get-VBRADForestDomain -ADForest $forest

Get-VBRADForestDomainController -ADForestDomain $domain

Perform the following steps:

  1. Run the Get-VBRADForestReturns Microsoft Active Directory forests in your infrastructure. cmdlet. Save the result to the $forest variable.
  2. Run the Get-VBRADForestDomainReturns Active Directory domains within a forest or a restore point. cmdlet. Set the $forest variable as the ADForest parameter value. Save the result to the $domain variable.
  3. Run the Get-VBRADForestDomainController cmdlet. Set the $domain variable as the ADForestDomain parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18