After the planned upgrade to Windows Server 2012, you restore a user account from the Active Directory Recycle Bin.
You need to replicate the restored user account as quickly as possible.
Which cmdlets should you run?
* Scenario:
All of the domain controllers are global catalog servers.
The FSMO roles were not moved since the domains were deployed.
* Example: The following command replicates the user ''James'' to all the domain controllers:
Get-ADDomainController -filter * | ForEach {Sync-ADObject -object ''CN=James, OU=BusinessUsers, DC=Test, DC=Local'' -source NKAD1 -destination $_.hostname}
Note:
* The Get-ADDomainController cmdlet gets the domain controllers specified by the parameters.
You can get domain controllers by setting the Identity, Filter or Discover parameters.
* The Sync-ADObject cmdlet replicates a single object between any two domain controllers that have partitions in common. The two domain controllers do not need to be direct replication partners. It can also be used to populate passwords in a read-only domain controller (RODC) cache.
Currently there are no comments in this discussion, be the first to comment!