Book Image

Active Directory with PowerShell

By : Pamarthi Venkata Sitaram, YELLAPRAGADA U PADMAVATHI
5 (1)
Book Image

Active Directory with PowerShell

5 (1)
By: Pamarthi Venkata Sitaram, YELLAPRAGADA U PADMAVATHI

Overview of this book

Table of Contents (16 chapters)
Active Directory with PowerShell
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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