Skip to main content

AD - Audit Group Members

Summary

This script audits the target Active Directory (AD) group for changes since the last time it was run. It can send an optional ticket after detecting changes in the target group.

Time Saved by Automation: 5 Minutes

Sample Run

Sample Run

Dependencies

Compare-ADGroupMembers

Variables

Global Parameters

NameExampleRequiredDescription
TicketCreationCategory178False (Default 0)Sets the ticket category for ticketing. If set to 0, ticketing will be skipped.

User Parameters

NameExampleRequiredDescription
ADGroupNameDomain AdminsTrueThe name of the AD group to check for changes against.

Process

See Compare-ADGroupMembers for details on the underlying script logic.

If Compare-ADGroupMembers returns 1 in the @datalogcontent@ variable, then a ticket will be created if the @TicketCreationCategory@ variable is set.

Output

  • Script Log
  • Log Files
  • Ticketing