5.21 GroupPolicyCount

Use this Knowledge Script to count the number of Group Policies associated with the target server in Active Directory. This script raises an event if the number of Group Policies associated with the server exceeds the threshold you set.

5.21.1 Resource Object

Group Policy top-level folder

5.21.2 Default Schedule

The default interval for this script is Every 30 minutes.

5.21.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Event?

Set to y to raise an event if the number of Group Policies exceeds the threshold you set. The default is y.

Collect data?

Set to y to collect data for charts and reports. If enabled, data collection returns the number of Group Policies found. The default is n.

Number of Group Policies

Specify the maximum number of Group Policies that can be associated with a computer in Active Directory before an event is raised. The default is 5 Group Policies.

Event severity

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of Group Policies exceeds the threshold. The default is 5 (blue event indicator).