How to remove a common Nested AD Group from Multiple AD Groups using Powershell?

DHANAPAL ASHOKKUMAR 1 Reputation point

The Nested AD Group is common/same for all the AD Groups (AD Group 1, AD Group 2....)

X= Nested AD Group
1,2,3 .... = AD Groups

I am a newbie to PowerShell scripting, Can someone help?


Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,216 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,455 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Gary Reynolds 9,406 Reputation points


    Have a look at this post which can be used to display the nested groups in the domain -


    0 comments No comments