How to update a group policy on local or remote computer server 2012

You can update a local or remote client computer by issuing one of these powershell commands. This works if you are running Windows Server 2012 and Powershell version 3 or up.

Invoke-GpUpdate -Computer pc1 – this will refresh the group policy of a remote computer PC1 in 10 minutes.

To execute the policy immediately, run this command:
Invoke-GpUpdate -Computer pc1 -RandomDelayInMinutes 0 -Force

For windows Server 2008 or earlier domain controller enviroment. Use, gpupdate /force

Publisher: abdirahman isse

Share this post