Synopsis
Description
Parameters
-AuthType
Specifies the authentication method to use. Possible values for this parameter include:
Required? false
Position? named
Default value Microsoft.ActiveDirectory.Management.AuthType.Negotiate
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
Specifies a user account that has permission to perform this action. The default is the current user.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-EnumeratingServer <String>
Specifies the Active Directory Domain Services instance to connect to, by providing one of the following values for a corresponding domain name or directory server. The service may be any of the following: Active Directory Lightweight Domain Services, Active Directory Domain Services or Active Directory Snapshot instance.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Filter <String>
Specifies a filter in the provider's format or language. The value of this parameter qualifies the Path parameter. The syntax of the filter, including the use of wildcards, depends on the provider. Filters are more efficient than other parameters, because the provider applies them when retrieving the objects, rather than having Windows PowerShell filter the objects after they are retrieved.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Scope <ADScopeType>
Specifies the type of object used as input by the Target parameter. The following are allowable values to use:
Required? true
Position? 2
Default value None
Accept pipeline input? false
Accept wildcard characters? false
-Target <Object[]>
Specifies either one or more (using a comma separated list) of Active Directory domain controllers, sites, domains, or forests. It will return results for all the domain controllers that are specified or that are part of the specified container.
Required? true
Position? 1
Default value DCLocator; Provider: -Server of the connected drive
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
Syntax
Get-ADReplicationFailure [-AuthType <ADAuthType>] [-Credential <PSCredential>] [-EnumeratingServer <String>] [-Filter <String>] [-Target] <Object[]> [<CommonParameters>]
Get-ADReplicationFailure [-AuthType <ADAuthType>] [-Credential <PSCredential>] [-EnumeratingServer <String>] [-Filter <String>] [-Scope] <ADScopeType> [[-Target] <Object[]>] [<CommonParameters>]
C:\PS>Get-ADReplicationFailure -Target delhi-DC01
Get a collection of data describing an Active Directory replication failure for delhi-DC01.
C:\PS>Get-ADReplicationFailure -Target delhi-DC01 -Scope Server
Get a collection of data describing an Active Directory replication failure from delhi-DC01 (same as above).
C:\PS>Get-ADReplicationFailure -Target delhi-DC01,delhi-DC02
Get a collection of data describing an Active Directory replication failure from delhi-DC01 and delhi-DC02.
C:\PS>Get-ADReplicationFailure -Target Mumbai -Scope Site
Get a collection of data describing Active Directory replication failures from all the domain controllers in the site ‘ Mumbai ‘.
C:\PS>Get- ADReplicationFailure -Target “delhi.TOSSolution.com” -Scope Domain
Get a collection of data describing Active Directory replication failures from all the domain controllers in the domain ‘delhi.TOSSolution .com’.
C:\PS>Get- ADReplicationFailure -Target “delhi.TOSSolution.com” -Scope Forest
Get a collection of data describing Active Directory replication failures from all the domain controllers in the forest ‘delhi.TOSSolution.com’
Get-Command Get-ADReplicationFailure