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
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ADForestDomain |
Specifies the Active Directory domain for which to return domain controllers.
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 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:
- Run the
Get-VBRADForestReturns Microsoft Active Directory forests in your infrastructure. cmdlet. Save the result to the$forestvariable. - Run the
Get-VBRADForestDomainReturns Active Directory domains within a forest or a restore point. cmdlet. Set the$forestvariable as theADForestparameter value. Save the result to the$domainvariable. - Run the
Get-VBRADForestDomainControllercmdlet. Set the$domainvariable as theADForestDomainparameter value.
Related Commands
Get-VBRADForestReturns Microsoft Active Directory forests in your infrastructure.Get-VBRADForestDomainReturns Active Directory domains within a forest or a restore point.