I have a problem need to example in Active Directory using powershell get all groups that are part of a group and so on recursively.
So if you have group A that has B