Pcornel
Browse topics
Options
Recent
Favorites
Command · Windows / Windows Server / PowerShell

Get-ADReplicationPartnerMetadata -Target <dc>

Get-ADReplicationPartnerMetadata -Target <dc>

Returns replication partner data for a domain controller, including last success, last attempt and last result.

Execution context

Administrator (elevated prompt)

Use when

You want replication status as objects for a report or a script.

Privilege Administrator (elevated prompt)State impact Read-onlyProduction Unknown

Operational impact: Read-only.
Command detailsSafety model · family · platform · verification · bundle
PrivilegeAdministrator (elevated prompt)
Execution contextAdministrator (elevated prompt)
State impactRead-only
Safe during productionUnknown
CategoryActive Directory
Evidence levelmixed
Primary DomainWindows
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
Family Ctive Irectory
PlatformWindows / Windows Server / PowerShell
PrerequisiteAdministrator (elevated prompt)
Output fields

Field glossary

Important fields projected from persisted Command guidance.

Server, Partner, Partition, LastReplicationAttempt, LastReplicationSuccess, LastReplicationResult

Important persisted output field; use surrounding guidance for interpretation.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsWindows

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Shows the replication state between a DC and each partner.

Does not prove

Does not explain why a failure happened.

Next check

Look at the failing link with repadmin /showrepl <dc>.

Depth when you need it

Command guidance

Execution context

Administrator (elevated prompt)

Use when

You want replication status as objects for a report or a script.

Important fields

Server, Partner, Partition, LastReplicationAttempt, LastReplicationSuccess, LastReplicationResult

Common problems

LastReplicationResult not 0; LastReplicationSuccess far behind LastReplicationAttempt

Operational impact

Read-only.

Technical context

Use -Target * -Scope Server to query all DCs. LastReplicationResult 0 means success.

Confirmation

Confirm action

Continue?