So far, we have seen operations related to Group Policy objects such as creation and modifications. Now, let's see how to apply these GPOs and find out the Group Policy's update status.
Group Policy update on a system can be triggered on a computer using the gpupdate.exe
utility. The Invoke-GPUpdate
cmdlet in the Group Policy module functions the same way and also allows triggering of GP update on computers remotely. This cmdlet can be used to trigger computer or user policy update selectively and also provides options to control, reboot, or logoff after the GPO process.
Note
Note: The Invoke-GPUpdate
cmdlet is available on Windows Server 2012/Windows 8 and later only. However, you can use this cmdlet from Windows Server 2012/Windows 8 or later to trigger Group Policy update on Windows Server 2008, Windows Server 2008 R2, and Windows 7.
The following command can trigger synchronous Group Policy...