--- title: "Get-VBRADForestDomain" description: "The cmdlet returns all Active Directory domains in the specified Microsoft Active Directory forest or restore point, including domains from every domain tree in the forest." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/get-vbradforestdomain.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Data Recovery > Microsoft Active Directory Forest Restore > Get-VBRADForestDomain" dateModified: "2026-08-19" --- # Get-VBRADForestDomain ## Short Description Returns Active Directory domains within a forest or a restore point. **Platform**: VMware, Hyper-V **Product Edition**: Veeam Universal License ## Syntax This cmdlet provides the following parameter sets: ## Detailed Description The cmdlet returns all Active Directory domains in the specified Microsoft Active Directory forest or restore point, including domains from every domain tree in the forest. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ADForest

Specifies a Microsoft Active Directory forest object. The cmdlet will return Active Directory domains within that forest.

Accepts the VBRADForest object. To get this object, run the Get-VBRADForest cmdlet.

VBRADForest

True

Named

True (ByValue)

RestorePoint

Specifies a Microsoft Active Directory forest restore point. The cmdlet will return Active Directory domains within that restore point.

Accepts the VBRADForestRestorePoint object. To get this object, run the Get-VBRADForestRestorePoint cmdlet.

VBRADForestRestorePoint

True

Named

True (ByValue)

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object The cmdlet returns the [`VBRADForestDomain`](vbradforestdomain.md)`[]` object that contains information about the Active Directory domain. ## Examples ::: example ### Example 1. Getting Domains from Microsoft Active Directory Forest This example shows how to get Active Directory domains by specifying the forest. ``` $forest = Get-VBRADForest Get-VBRADForestDomain -ADForest $forest ``` Perform the following steps: 1. Run the [`Get-VBRADForest`](get-vbradforest.md) cmdlet. Save the result to the `$forest` variable. 2. Run the `Get-VBRADForestDomain` cmdlet. Set the `$forest` variable as the `ADForest` parameter value. ::: ::: example ### Example 2. Getting Domains from Forest Restore Point This example shows how to get Active Directory domains by specifying a forest restore point. ``` $forest = Get-VBRADForest $restorePoint = Get-VBRADForestRestorePoint -ADForest $forest Get-VBRADForestDomain -RestorePoint $restorePoint ``` Perform the following steps: 1. Run the [`Get-VBRADForest`](get-vbradforest.md) cmdlet. Save the result to the `$forest` variable. 2. Run the [`Get-VBRADForestRestorePoint`](get-vbradforestrestorepoint.md) cmdlet. Set the `$forest` variable as the `ADForest` parameter value. Save the result to the `$restorePoint` variable. 3. Run the `Get-VBRADForestDomain` cmdlet. Set the `$restorePoint` variable as the `RestorePoint` parameter value. ::: ## Related Commands - [`Get-VBRADForest`](get-vbradforest.md) - [`Get-VBRADForestRestorePoint`](get-vbradforestrestorepoint.md)