Updating Group Policy and generating Resultant Set of Policy

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.

Remotely triggering Group Policy update

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 ...

Get Active Directory with PowerShell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.