Script Library

Boost your management, troubleshoot, and remediation capabilities with scripts created by experts in the IT community.

<< Back to Script Library

Tag: Group Policy

(6 Scripts)
Analyze Group Policy Object's Group Policy Preferences load times, which helps break down Group Policy processing time by extension as well as by GPO. This allows for identifying individual GPOs that took longer than others to load.
Requires GPP Logging to be enabled. The script itself can enable GPP logging by running it against a session with -enable in the advanced options.
Version: 1.5.27  |   Created: 2020-06-18  |   Modified: 2020-08-27  |   Creator: trentent.tye  |   Downloads: 578
Run gpresult for the selected user to get a list of scripts that ran at logon and show where they are located, including the containing GPO's name and GUID, so that it is easy to view the script contents with a view to troubleshooting, optimising, etc. It also shows the size of the script, any parameters passed to it and when it was last modified
Version: 1.4.9  |   Created: 2018-10-05  |   Modified: 2018-11-20  |   Creator: Guy Leech  |   Downloads: 783
This script looks for Folder Redirection errors (Event ID 502) that occurred on the selected managed computer within the last 30 days.
Version: 2.3.8  |   Created: 2017-05-21  |   Modified: 2019-03-17  |   Creator: Carl Webster  |   Downloads: 1088
This SBA shows the current computer Group Policy Objects applied based on the records inside the "Operational" log under "Microsoft-Windows-GroupPolicy".

By default the log size is configured to 4MB,
That means that this SBA can look back this much.
Consider increasing the log size to view older entries.
Version: 1.1.4  |   Created: 2016-06-07  |   Modified: 2016-06-07  |   Creator: Zeev Eisenberg  |   Downloads: 1436
This SBA runs under the session context of a selected user and shows
how long each "Group Policy Client Side Extension" took to complete based on the records inside the "Operational" log under "Microsoft-Windows-GroupPolicy".

By default the log size is configured to 4MB,
That means that this SBA can look back this much.
Consider increasing the log size to view older entries.
Version: 9.21.52  |   Created: 2015-02-09  |   Modified: 2020-11-13  |   Creator: Niron Koren  |   Downloads: 17153
This SBA runs under the session context of a selected user and shows,
every "User Group Policy" applied based on the records inside the "Operational" log under "Microsoft-Windows-GroupPolicy".

By default the log size is configured to 4MB,
That means that this SBA can look back this much.
Consider increasing the log size to view older entries.
Version: 2.2.7  |   Created: 2014-07-07  |   Modified: 2015-02-12  |   Creator: Niron Koren  |   Downloads: 2744