기술 문서

Forcing Active Directory replication of a single object using Windows PowerShell



Article Summary: This article is designed to provide steps to force Active Directory (AD) replication of a single object using Windows PowerShell



Solution:

This information would be useful in a situation where an AD object was deleted, placed in the AD Recycle Bin and subsequently restored. It would be prudent to force replication to all domain controllers (DC) in the environment after the restoration of the AD object. Follow the steps in the solution to achieve this goal.

Force replication to all DC's immediately after the AD user object Megan Wendt is restored from the AD Recycle Bin after accidental deletion.

a. Press Windows Logo, type Windows PowerShell, right-click on Windows PowerShell and click Run as administrator to open Windows PowerShell.

b. Type Get-ADDomainController -filter * | foreach {Sync-ADObject -Object "cn=Megan Wendt,cn=users,dc=vdomain,dc=local" -source w2k12r2-vdc.domain.local -Destination $_.hostname} and press Enter to force replication to all domain controllers.

Note: Replace cn=Megan Wendt,cn=users,dc=vdomain,dc=local with the correct AD object to be replicated. Replace w2k12r2-vdc.domain.local with the correct DC where the AD object was restored using the Recycle Bin.

Additional Information:

This information applies to Windows Server 2008, Windows Server 2008 R2, Windows Server 2012 and Windows Server 2012 R2.




Quick Tips content is self-published by the Dell Support Professionals who resolve issues daily. In order to achieve a speedy publication, Quick Tips may represent only partial solutions or work-arounds that are still in development or pending further proof of successfully resolving an issue. As such Quick Tips have not been reviewed, validated or approved by Dell and should be used with appropriate caution. Dell shall not be liable for any loss, including but not limited to loss of data, loss of profit or loss of revenue, which customers may incur by following any procedure or advice set out in the Quick Tips.

문서 ID: SLN291243

최종 수정일: 08/28/2014 01:46 PM


이 문서 평가하기

정확함
유용함
이해하기 쉬운
이 문서가 도움이 되셨나요?
지원 미지원
피드백을 보내 주십시오.
의견에는 <>()\와 같은 특수 문자를 사용할 수 없습니다.
죄송합니다. 현재 피드백 시스템은 사용하실 수 없습니다. 잠시 후에 다시 시도하십시오.

피드백을 보내주셔서 감사합니다.