lunes, 4 de septiembre de 2017

WINDOWS. PS. GPO. Force gpupdate synchronitation - replication

[ ] Check the last GPO synchronitation

Command: gpresult /scope computer /v | more

Run CMD as administrator.



[ ] To get info OU or Machine



[ ] Apply the synchronitation to one Computer

Command:Get-ADComputer -Filter * -SearchBase "CN=PCXXXX5,OU=Test,OU=Maquinas,OU=Casa,OU=dept,DC=dominio,DC=LOCAL" | Foreach-Object {Invoke-GPUpdate -Computer $_.name -Force -RandomDelayInMinutes 0}



[ ] Apply the synchronitation to all computer in one OU

Command:Get-ADComputer -Filter * -SearchBase "OU=Test,OU=Maquinas,OU=Casa,OU=dept,DC=dominio,DC=LOCAL" | Foreach-Object {Invoke-GPUpdate -Computer $_.name -Force -RandomDelayInMinutes 0}

When you apply the command "Invoke-GPUpdate" all computers can view this screen



You can check the synchronitation whith the firt step.

More info: http://gonsystem.blogspot.com.es/2017/06/windows-ad-replication.html

Check at Windows 2012 R2
by GoN | Published: September 4, 2017 | Last Updated: