Skip to content

Instantly share code, notes, and snippets.

View DarkLite1's full-sized avatar

DarkLite1 DarkLite1

  • Belgium
View GitHub Profile
@DarkLite1
DarkLite1 / CircularNestedGroups.ps1
Last active October 15, 2024 19:49 — forked from infamousjoeg/CircularNestedGroups.ps1
Detect and report circular nested AD groups
Function Get-ADCircularGroups {
<#
.SYNOPSIS
Find instances of circular nested groups.
.DESCRIPTION
A PowerShell script to find any instances of circular nested groups in the domain.
The program finds and reports on all groups involved in circular nesting.
A useful feature of Active Directory is that groups can be nested. However, it is