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:
-
ADForestGet-VBRADForestDomain -ADForest <VBRADForest> [<CommonParameters>]
-
RestorePointGet-VBRADForestDomain -RestorePoint <VBRADForestRestorePoint> [<CommonParameters>]
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 |
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 |
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 VBRADForestDomain[] object that contains information about the Active Directory domain.
Examples
Example 1. Getting Domains from Microsoft Active Directory Forest
|
This example shows how to get Active Directory domains by specifying the forest.
Perform the following steps:
|
Example 2. Getting Domains from Forest Restore Point
|
This example shows how to get Active Directory domains by specifying a forest restore point.
Perform the following steps:
|
Related Commands
Get-VBRADForestReturns Microsoft Active Directory forests in your infrastructure.Get-VBRADForestRestorePointReturns restore points for a Microsoft Active Directory forest.